Project Date
NLTEST 21 Sep 2020, 15:22

Failures Overview

The following summary displays scenarios that failed.

2:1.202
Scenario Outline check known link http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint
Steps
* def nlinks = ["http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint"] 0.000
* print nlinks 0.000
15:19:30.059 [print] [
  "http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint"
]
* def title = "known url" 0.001
* configure readTimeout = 60000 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1:0.601
com.intuit.karate.exception.KarateException: check-known-links.feature:10 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-links.feature
items: [{link=http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint"}
checkxlinkurl.template.feature:14 - 
java.net.SocketTimeoutException: Read timed out
15:20:30.663 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint"}
checkxlinkurl.template.feature:14 - 
java.net.SocketTimeoutException: Read timed out
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint"
}
> * print "testing xlinkurl: 0.005
15:19:30.070 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:19:30.070 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint
> Given url link 0.000
> When method HEAD 1:0.592
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.SocketTimeoutException: Read timed out
15:20:30.663 java.net.SocketTimeoutException: Read timed out, http call failed after 60384 milliseconds for URL: http://inspire.ec.europa.eu/metadata-codelist/OnLineDescriptionCode/endPoint
15:20:30.663 http request failed: 
java.net.SocketTimeoutException: Read timed out
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
4.262
Scenario Outline Nationale Parken (INSPIRE Geharmoniseerd)
247a1d15-0a67-40ce-85be-1403c08f15a8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.004
And param id = '247a1d15-0a67-40ce-85be-1403c08f15a8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.002
When method get 0.784
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.011
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '247a1d15-0a67-40ce-85be-1403c08f15a8' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.017
* print 'title:' + title 0.001
15:21:04.937 [print] title:Nationale Parken (INSPIRE Geharmoniseerd)
* print title 0.000
15:21:04.938 [print] Nationale Parken (INSPIRE Geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.007
* print email 0.000
15:21:04.946 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "info@minlnv.nl",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.005
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.011
* print 'organisation:', organisation 0.005
15:21:04.977 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('247a1d15-0a67-40ce-85be-1403c08f15a8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.016
* def ObjectValues = 0.007
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.002
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.159
* print nlinks 0.005
15:21:05.171 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8",
  "xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "247a1d15-0a67-40ce-85be-1403c08f15a8" 0.015
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.599
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8}, {link=xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:06.786 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8"
}
> * print "testing xlinkurl: 0.007
15:21:05.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.200 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/247a1d15-0a67-40ce-85be-1403c08f15a8
> Given url link 0.000
> When method HEAD 0.217
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"
}
> * print "testing xlinkurl: 0.001
15:21:05.422 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.422 [print] testing xlinkurl:xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
15:21:05.423 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps, http call failed after 0 milliseconds for URL: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
15:21:05.423 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
15:21:05.423 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: xlink:href=https://inspire.ec.europa.eu/id/document/tg/ps
15:21:05.423 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.423 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.362
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:06.786 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('247a1d15-0a67-40ce-85be-1403c08f15a8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.163
Scenario Outline Geografische Namen
81ff84ec-42a4-4481-840b-12713bbb5d38 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '81ff84ec-42a4-4481-840b-12713bbb5d38' 0.001
And param elementsetname = 'full' 0.002
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.654
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.025
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '81ff84ec-42a4-4481-840b-12713bbb5d38' 0.078
* def title = get response //citation/CI_Citation/title/CharacterString 0.030
* print 'title:' + title 0.015
15:21:04.922 [print] title:Geografische Namen
* print title 0.000
15:21:04.923 [print] Geografische Namen
* def email = get response //electronicMailAddress/CharacterString 0.015
* print email 0.003
15:21:04.942 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.014
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.016
* print 'organisation:', organisation 0.002
15:21:04.976 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('81ff84ec-42a4-4481-840b-12713bbb5d38","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.007
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.020
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.003
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.151
* print nlinks 0.005
15:21:05.167 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"
]
* def id = "81ff84ec-42a4-4481-840b-12713bbb5d38" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.064
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:21:05.234 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79"
}
> * print "testing xlinkurl: 0.008
15:21:05.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.199 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79
> Given url link 0.001
> When method HEAD 0.032
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:21:05.233 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 30 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a79
15:21:05.233 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('81ff84ec-42a4-4481-840b-12713bbb5d38","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.974
Scenario Outline Emissies naar het riool in 2015 vanuit de industrie
f2f86edf-ac3a-48e8-9292-0544da2d7645 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f2f86edf-ac3a-48e8-9292-0544da2d7645' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.783
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2f86edf-ac3a-48e8-9292-0544da2d7645' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:05.057 [print] title:Emissies naar het riool in 2015 vanuit de industrie
* print title 0.012
15:21:05.070 [print] Emissies naar het riool in 2015 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:05.072 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.011
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.004
15:21:05.088 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f2f86edf-ac3a-48e8-9292-0544da2d7645","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.022
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.054
* print nlinks 0.004
15:21:05.172 [print] [
  "https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"
]
* def id = "f2f86edf-ac3a-48e8-9292-0544da2d7645" 0.020
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.525
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:05.718 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65"
}
> * print "testing xlinkurl: 0.000
15:21:05.195 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.196 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65
> Given url link 0.000
> When method HEAD 0.522
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:05.718 javax.net.ssl.SSLException: Connection reset, http call failed after 521 milliseconds for URL: https://data.rivm.nl/inspire/id#64d546c9-71d4-4c84-a04c-61c5d0734f65
15:21:05.718 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f2f86edf-ac3a-48e8-9292-0544da2d7645","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.512
Scenario Outline Amplitude van het getij op de Noordzee
be6551de-a709-4c6d-a5e2-f63f0cf038ba <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'be6551de-a709-4c6d-a5e2-f63f0cf038ba' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.754
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'be6551de-a709-4c6d-a5e2-f63f0cf038ba' 0.036
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:05.192 [print] title:Amplitude van het getij op de Noordzee
* print title 0.000
15:21:05.192 [print] Amplitude van het getij op de Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:05.193 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.003
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:05.197 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.006
* def db = new mystorage 0.000
* eval db.mywriteln('be6551de-a709-4c6d-a5e2-f63f0cf038ba","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.014
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.033
* print nlinks 0.000
15:21:05.255 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"
]
* def id = "be6551de-a709-4c6d-a5e2-f63f0cf038ba" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.827
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:06.085 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.010
15:21:05.270 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.272 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.305
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba"
}
> * print "testing xlinkurl: 0.001
15:21:05.579 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.580 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbe6551de-a709-4c6d-a5e2-f63f0cf038ba
> Given url link 0.000
> When method HEAD 0.504
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:06.085 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('be6551de-a709-4c6d-a5e2-f63f0cf038ba","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.441
Scenario Outline Gebouwen (INSPIRE geharmoniseerd)
b4ae622c-6201-49d8-bd2e-f7fce9206a1e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b4ae622c-6201-49d8-bd2e-f7fce9206a1e' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.710
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae622c-6201-49d8-bd2e-f7fce9206a1e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:05.229 [print] title:Gebouwen (INSPIRE geharmoniseerd)
* print title 0.002
15:21:05.232 [print] Gebouwen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.007
* print email 0.000
15:21:05.240 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.016
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.013
15:21:05.270 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b4ae622c-6201-49d8-bd2e-f7fce9206a1e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.011
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.008
* print nlinks 0.000
15:21:05.292 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"
]
* def id = "b4ae622c-6201-49d8-bd2e-f7fce9206a1e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.332
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:05.626 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.010
15:21:05.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.010
15:21:05.317 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.289
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/80b2d12c-32be-54fg-b6d3\u201434f4ffc06cf3"
}
> * print "testing xlinkurl: 0.002
15:21:05.609 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.610 [print] testing xlinkurl:http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3
> Given url link 0.000
> When method HEAD 0.016
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:05.626 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/80b2d12c-32be-54fg-b6d3—34f4ffc06cf3
15:21:05.626 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b4ae622c-6201-49d8-bd2e-f7fce9206a1e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.795
Scenario Outline Bodemkaart50000_versie2014
ed960299-a147-4c1a-bc57-41ff83a2264f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ed960299-a147-4c1a-bc57-41ff83a2264f' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.640
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ed960299-a147-4c1a-bc57-41ff83a2264f' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.008
* print 'title:' + title 0.000
15:21:05.198 [print] title:Bodemkaart50000_versie2014
* print title 0.000
15:21:05.198 [print] Bodemkaart50000_versie2014
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
15:21:05.201 [print] [
  "fokke.brouwer@wur.nl",
  "GeoDesk@wur.nl",
  "fokke.brouwer@wur.nl",
  "GeoDesk@wur.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.006
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.005
15:21:05.214 [print] organisation: [
  "Wageningen Environmental Research",
  "Wageningen Environmental Research (Alterra)",
  "Wageningen Environmental Research",
  "Wageningen Environmental Research (Alterra)",
  "ALTERRA en voorafgaande instituten",
  "ALTERRA en voorafgaande instituten",
  "Alterra",
  "Alterra",
  "Alterra Wageningen UR",
  "Alterra"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ed960299-a147-4c1a-bc57-41ff83a2264f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.011
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.051
* print nlinks 0.000
15:21:05.279 [print] [
  "h",
  "t",
  "t",
  "p",
  ":",
  "/",
  "/",
  "s",
  "t",
  "a",
  "n",
  "d",
  "a",
  "r",
  "d",
  "s",
  ".",
  "i",
  "s",
  "o",
  ".",
  "o",
  "r",
  "g",
  "/",
  "i",
  "t",
  "t",
  "f",
  "/",
  "P",
  "u",
  "b",
  "l",
  "i",
  "c",
  "l",
  "y",
  "A",
  "v",
  "a",
  "i",
  "l",
  "a",
  "b",
  "l",
  "e",
  "S",
  "t",
  "a",
  "n",
  "d",
  "a",
  "r",
  "d",
  "s",
  "/",
  "I",
  "S",
  "O",
  "_",
  "1",
  "9",
  "1",
  "3",
  "9",
  "_",
  "S",
  "c",
  "h",
  "e",
  "m",
  "a",
  "s",
  "/",
  "r",
  "e",
  "s",
  "o",
  "u",
  "r",
  "c",
  "e",
  "s",
  "/",
  "u",
  "o",
  "m",
  "/",
  "g",
  "m",
  "x",
  "U",
  "o",
  "m",
  ".",
  "x",
  "m",
  "l",
  "#",
  "m"
]
* def id = "ed960299-a147-4c1a-bc57-41ff83a2264f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.590
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=h}, {link=t}, {link=t}, {link=p}, {link=:}, {link=/}, {link=/}, {link=s}, {link=t}, {link=a}, {link=n}, {link=d}, {link=a}, {link=r}, {link=d}, {link=s}, {link=.}, {link=i}, {link=s}, {link=o}, {link=.}, {link=o}, {link=r}, {link=g}, {link=/}, {link=i}, {link=t}, {link=t}, {link=f}, {link=/}, {link=P}, {link=u}, {link=b}, {link=l}, {link=i}, {link=c}, {link=l}, {link=y}, {link=A}, {link=v}, {link=a}, {link=i}, {link=l}, {link=a}, {link=b}, {link=l}, {link=e}, {link=S}, {link=t}, {link=a}, {link=n}, {link=d}, {link=a}, {link=r}, {link=d}, {link=s}, {link=/}, {link=I}, {link=S}, {link=O}, {link=_}, {link=1}, {link=9}, {link=1}, {link=3}, {link=9}, {link=_}, {link=S}, {link=c}, {link=h}, {link=e}, {link=m}, {link=a}, {link=s}, {link=/}, {link=r}, {link=e}, {link=s}, {link=o}, {link=u}, {link=r}, {link=c}, {link=e}, {link=s}, {link=/}, {link=u}, {link=o}, {link=m}, {link=/}, {link=g}, {link=m}, {link=x}, {link=U}, {link=o}, {link=m}, {link=.}, {link=x}, {link=m}, {link=l}, {link=#}, {link=m}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"y"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"A"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"I"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"O"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"U"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"#"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.865 feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.004
15:21:05.302 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.302 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.303 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:05.304 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:05.304 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.305 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.306 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.307 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:05.307 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:05.307 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.308 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.309 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.310 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:05.310 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.007
15:21:05.311 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.318 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.319 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.319 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
15:21:05.319 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
15:21:05.320 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.321 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.322 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:21:05.322 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.323 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:21:05.324 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.324 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.325 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.325 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.326 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.327 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.006
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.334 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.334 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:05.335 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.336 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.336 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.337 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.337 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:05.338 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.338 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.339 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.340 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:05.340 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:05.340 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.341 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.342 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.343 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.343 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:05.344 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.345 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.345 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.350 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:05.350 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
15:21:05.351 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.352 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.352 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.354 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:21:05.354 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:05.355 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.356 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.356 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.357 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.357 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.004
15:21:05.358 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.362 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.363 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.363 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:05.363 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
15:21:05.364 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.365 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.365 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.366 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:21:05.367 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:05.367 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.368 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.369 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.370 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.370 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.002
15:21:05.371 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.374 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.374 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.375 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:05.375 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.001
15:21:05.376 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.377 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.378 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.383 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:05.383 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:05.383 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.384 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.384 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.385 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.385 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.002
15:21:05.386 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.389 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.389 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.390 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:05.390 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
15:21:05.391 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.392 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.392 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.393 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:05.393 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:05.393 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.394 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.396 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.398 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:05.398 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.001
15:21:05.399 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.400 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.009
15:21:05.410 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.411 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:05.411 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
15:21:05.411 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.412 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.412 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.413 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:21:05.413 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.413 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.413 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.413 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.414 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.414 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
15:21:05.414 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.415 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.415 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.415 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:05.415 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[26] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:05.415 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.416 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.416 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.416 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:05.416 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[27] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:05.416 feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.417 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.417 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.417 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:05.417 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[28] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.013
15:21:05.417 feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.431 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.431 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.432 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
15:21:05.432 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[29] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.434 feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.435 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.436 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.438 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.440 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[30] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.002
15:21:05.444 feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.447 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.448 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.449 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
15:21:05.450 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[31] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.002
15:21:05.450 feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.453 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.454 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.455 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:05.456 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[32] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "b"
}
> * print "testing xlinkurl: 0.003
15:21:05.456 feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.460 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.460 [print] testing xlinkurl:b
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.462 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: b
15:21:05.463 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[33] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.002
15:21:05.463 feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.466 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:05.467 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.469 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:05.469 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[34] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.002
15:21:05.470 feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.473 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.474 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.476 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:05.476 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[35] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.002
15:21:05.479 feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.482 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.483 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.484 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
15:21:05.485 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[36] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.002
15:21:05.485 feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.488 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.489 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.491 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:05.492 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[37] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "y"
}
> * print "testing xlinkurl: 0.002
15:21:05.492 feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.495 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.496 [print] testing xlinkurl:y
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.498 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: y
15:21:05.498 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[38] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "A"
}
> * print "testing xlinkurl: 0.002
15:21:05.499 feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"y"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.501 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.502 [print] testing xlinkurl:A
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.503 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: A
15:21:05.504 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[39] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "v"
}
> * print "testing xlinkurl: 0.002
15:21:05.505 feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"A"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.508 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.508 [print] testing xlinkurl:v
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.510 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: v
15:21:05.511 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[40] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.002
15:21:05.511 feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.514 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.514 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.516 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.517 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[41] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.005
15:21:05.517 feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.523 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.524 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.525 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:05.526 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[42] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.002
15:21:05.526 feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.529 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.006
15:21:05.535 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.536 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:05.536 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[43] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.005
15:21:05.536 feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.542 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.542 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.542 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.543 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[44] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "b"
}
> * print "testing xlinkurl: 0.002
15:21:05.543 feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.546 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.547 [print] testing xlinkurl:b
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.549 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: b
15:21:05.549 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[45] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.002
15:21:05.550 feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"b"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.553 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.554 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.555 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:05.555 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[46] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.002
15:21:05.556 feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.559 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.560 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.563 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:05.564 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[47] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.002
15:21:05.564 feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.567 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.568 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.569 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
15:21:05.569 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[48] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
15:21:05.570 feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.573 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.574 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.575 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:05.575 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[49] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.004
15:21:05.576 feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.580 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.581 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.581 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.581 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[50] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.002
15:21:05.582 feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.584 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.585 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.587 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:05.587 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[51] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.004
15:21:05.588 feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.593 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.593 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.595 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:21:05.595 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[52] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.002
15:21:05.596 feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.598 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.599 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.013
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.601 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.613 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[53] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:05.613 feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.614 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.614 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.614 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:05.614 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[54] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
15:21:05.614 feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.615 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.615 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.615 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:21:05.615 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[55] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:05.616 feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.616 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.616 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.619 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.619 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[56] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.002
15:21:05.619 feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.622 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.007
15:21:05.638 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.640 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.640 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[57] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "I"
}
> * print "testing xlinkurl: 0.002
15:21:05.640 feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.643 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.644 [print] testing xlinkurl:I
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.645 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: I
15:21:05.645 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[58] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.004
15:21:05.646 feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"I"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.650 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.650 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.652 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
15:21:05.652 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[59] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "O"
}
> * print "testing xlinkurl: 0.008
15:21:05.652 feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.661 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:05.662 [print] testing xlinkurl:O
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.664 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: O
15:21:05.664 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[60] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "_"
}
> * print "testing xlinkurl: 0.005
15:21:05.665 feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"O"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.671 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.671 [print] testing xlinkurl:_
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.673 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: _
15:21:05.674 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[61] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.003
15:21:05.674 feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.678 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.679 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.681 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
15:21:05.681 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[62] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.004
15:21:05.682 feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.687 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.687 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.691 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
15:21:05.691 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[63] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.000
15:21:05.691 feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.692 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.692 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.693 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
15:21:05.693 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[64] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "3"
}
> * print "testing xlinkurl: 0.000
15:21:05.694 feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.695 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.696 [print] testing xlinkurl:3
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.697 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 3
15:21:05.697 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[65] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "9"
}
> * print "testing xlinkurl: 0.000
15:21:05.698 feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.707 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.707 [print] testing xlinkurl:9
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.707 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 9
15:21:05.707 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[66] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "_"
}
> * print "testing xlinkurl: 0.001
15:21:05.707 feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"9"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.714 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.714 [print] testing xlinkurl:_
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.715 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: _
15:21:05.715 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[67] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
15:21:05.715 feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"_"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.716 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.716 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.716 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
15:21:05.716 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[68] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.000
15:21:05.716 feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.717 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.717 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.722 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
15:21:05.722 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[69] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
15:21:05.722 feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.723 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.723 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.724 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:05.724 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[70] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:05.724 feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.724 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.725 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.726 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:05.727 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[71] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.008
15:21:05.727 feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.736 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.736 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.736 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:05.736 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[72] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.015
15:21:05.736 feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.752 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.752 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.753 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:05.753 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[73] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:05.753 feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.753 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.754 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.754 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.754 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[74] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.754 feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.755 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.755 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.755 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.755 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[75] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:05.755 feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.756 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.756 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.757 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:05.757 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[76] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:05.757 feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.757 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.758 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.014
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.769 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:05.772 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[77] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.002
15:21:05.773 feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.776 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.777 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.777 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.777 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[78] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:05.777 feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.778 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.778 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.780 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:05.780 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[79] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.005
15:21:05.780 feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.786 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.004
15:21:05.790 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.792 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:05.792 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[80] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.001
15:21:05.793 feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.795 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.795 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.795 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:05.796 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[81] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.001
15:21:05.796 feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.798 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.798 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.005
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.803 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
15:21:05.803 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[82] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:05.803 feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.804 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.804 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.805 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:05.805 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[83] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:05.805 feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.805 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.805 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.806 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:05.806 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[84] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.806 feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.807 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.807 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.807 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.807 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[85] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
15:21:05.807 feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.808 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.808 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.808 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:05.809 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[86] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:05.809 feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.809 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.810 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.811 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:05.811 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[87] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.003
15:21:05.811 feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.815 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.816 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.817 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:05.817 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[88] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:05.822 feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.822 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.823 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.823 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:05.823 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[89] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.003
15:21:05.823 feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.827 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.827 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.827 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:21:05.827 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[90] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
15:21:05.827 feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.828 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.828 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.828 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:05.828 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[91] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.000
15:21:05.828 feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.829 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.829 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.829 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
15:21:05.829 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[92] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "U"
}
> * print "testing xlinkurl: 0.001
15:21:05.829 feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.831 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.831 [print] testing xlinkurl:U
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.832 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: U
15:21:05.832 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[93] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:05.832 feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"U"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.833 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.833 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.833 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:05.833 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[94] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
15:21:05.833 feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.834 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.007
15:21:05.841 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.842 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:05.843 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[95] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
15:21:05.843 feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.843 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.843 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.844 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:05.844 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[96] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.000
15:21:05.844 feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.845 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.845 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.013
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.858 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
15:21:05.858 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[97] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.001
15:21:05.858 feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.859 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.860 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.860 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:05.860 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[98] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
15:21:05.860 feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.861 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.861 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.862 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:05.862 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[99] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "#"
}
> * print "testing xlinkurl: 0.000
15:21:05.862 feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.862 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.863 [print] testing xlinkurl:#
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.863 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: #
15:21:05.863 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[100] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
15:21:05.863 feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"#"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.864 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.864 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.865 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:05.865 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ed960299-a147-4c1a-bc57-41ff83a2264f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.700
Scenario Outline Luchtfoto 2017 25cm RGB open data
74aca3eb-c38b-4214-9537-e0abc69e11b5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '74aca3eb-c38b-4214-9537-e0abc69e11b5' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.613
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74aca3eb-c38b-4214-9537-e0abc69e11b5' 0.013
* def title = get response //citation/CI_Citation/title/CharacterString 0.005
* print 'title:' + title 0.010
15:21:05.870 [print] title:Luchtfoto 2017 25cm RGB open data
* print title 0.000
15:21:05.880 [print] Luchtfoto 2017 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.000
15:21:05.884 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.007
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:05.891 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('74aca3eb-c38b-4214-9537-e0abc69e11b5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.006
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.003
15:21:05.907 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b017",
  "",
  "",
  ""
]
* def id = "74aca3eb-c38b-4214-9537-e0abc69e11b5" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.016
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b017}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.925 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"
}
> * print "testing xlinkurl: 0.001
15:21:05.913 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.913 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b017
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:05.914 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b017
15:21:05.914 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:05.914 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b017"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:05.916 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.916 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.919 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:05.919 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:05.919 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.921 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.921 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.922 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:05.922 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:05.922 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.924 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:05.924 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:05.925 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:05.925 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('74aca3eb-c38b-4214-9537-e0abc69e11b5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.785
Scenario Outline Hydrografie
4b282988-cb91-4bbc-b147-f653014917cb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4b282988-cb91-4bbc-b147-f653014917cb' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.746
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b282988-cb91-4bbc-b147-f653014917cb' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.003
15:21:06.474 [print] title:Hydrografie
* print title 0.000
15:21:06.475 [print] Hydrografie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:06.476 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:06.479 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4b282988-cb91-4bbc-b147-f653014917cb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.009
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:06.492 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"
]
* def id = "4b282988-cb91-4bbc-b147-f653014917cb" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.008
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:06.511 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80"
}
> * print "testing xlinkurl: 0.000
15:21:06.506 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:06.507 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:06.509 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a80
15:21:06.510 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4b282988-cb91-4bbc-b147-f653014917cb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.419
Scenario Outline Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
1c3afc74-cc34-44b7-938a-963e2350795a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1c3afc74-cc34-44b7-938a-963e2350795a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.692
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.001
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c3afc74-cc34-44b7-938a-963e2350795a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:06.569 [print] title:Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
* print title 0.000
15:21:06.569 [print] Hydrografie - Physical Waters (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:06.571 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:06.573 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1c3afc74-cc34-44b7-938a-963e2350795a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.006
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.003
15:21:06.589 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"
]
* def id = "1c3afc74-cc34-44b7-938a-963e2350795a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.352
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:06.943 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
15:21:06.593 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
15:21:06.597 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.339
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c"
}
> * print "testing xlinkurl: 0.000
15:21:06.938 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:06.939 [print] testing xlinkurl:http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:06.941 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/70a0f618-9d4f-4be9-9d9d-11106ff6971c
15:21:06.942 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1c3afc74-cc34-44b7-938a-963e2350795a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.447
Scenario Outline Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
50a2c5e6-c8e7-425d-854e-26f578196bc9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '50a2c5e6-c8e7-425d-854e-26f578196bc9' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.709
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '50a2c5e6-c8e7-425d-854e-26f578196bc9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:06.642 [print] title:Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
* print title 0.000
15:21:06.643 [print] Afgevoerde hoeveelheid afval in 2011 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:06.644 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:06.646 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('50a2c5e6-c8e7-425d-854e-26f578196bc9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.006
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:06.656 [print] [
  "https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"
]
* def id = "50a2c5e6-c8e7-425d-854e-26f578196bc9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:07.018 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65"
}
> * print "testing xlinkurl: 0.000
15:21:06.660 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:06.661 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65
> Given url link 0.000
> When method HEAD 0.356
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:07.018 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#90bab79d-5f92-4aaa-8edc-99195438ef65
15:21:07.018 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('50a2c5e6-c8e7-425d-854e-26f578196bc9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.277
Scenario Outline Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
6c06740d-058f-4a12-bb3f-bf68efd03d09 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6c06740d-058f-4a12-bb3f-bf68efd03d09' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.634
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c06740d-058f-4a12-bb3f-bf68efd03d09' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:06.727 [print] title:Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
* print title 0.000
15:21:06.727 [print] Vervoersnetwerken - Kabelbanen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:06.728 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:06.731 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6c06740d-058f-4a12-bb3f-bf68efd03d09","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.003
15:21:06.742 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"
]
* def id = "6c06740d-058f-4a12-bb3f-bf68efd03d09" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.311
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:07.055 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.005
15:21:06.751 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:06.752 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.299
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a"
}
> * print "testing xlinkurl: 0.000
15:21:07.053 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.054 [print] testing xlinkurl:http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:07.055 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/ed4caa3b-a49e-4a9a-8206-50a3cf451b9a
15:21:07.055 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6c06740d-058f-4a12-bb3f-bf68efd03d09","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.392
Scenario Outline Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.643
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:07.162 [print] title:Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
* print title 0.000
15:21:07.162 [print] Omgevingsdosisequivalenttempo Nationaal Meetnet Radioactiviteit 2011
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:07.164 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:07.166 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:07.172 [print] [
  "https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"
]
* def id = "8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.366
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:07.541 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd"
}
> * print "testing xlinkurl: 0.002
15:21:07.178 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.178 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:07.539 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#722e3937-3e53-4048-97ef-1ced2c77f7dd
15:21:07.540 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.197
Scenario Outline Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
19165027-a13a-4c19-9013-ec1fd191019d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '19165027-a13a-4c19-9013-ec1fd191019d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.647
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '19165027-a13a-4c19-9013-ec1fd191019d' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.001
15:21:07.289 [print] title:Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
* print title 0.000
15:21:07.289 [print] Wetlands (RAMSAR) (INSPIRE Geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:07.291 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "GeoDesk.CGI@wur.nl",
  "beheer@pdok.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.003
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:07.295 [print] organisation: [
  "",
  ""
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('19165027-a13a-4c19-9013-ec1fd191019d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
15:21:07.309 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "19165027-a13a-4c19-9013-ec1fd191019d" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.260
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:08.573 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d"
}
> * print "testing xlinkurl: 0.001
15:21:07.316 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.316 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/19165027-a13a-4c19-9013-ec1fd191019d
> Given url link 0.000
> When method HEAD 0.259
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
15:21:07.578 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.579 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 0.993
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:08.573 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('19165027-a13a-4c19-9013-ec1fd191019d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.452
Scenario Outline Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
fe45c540-e37d-11e4-b571-0800200c9a66 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.431
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.002
15:21:07.227 [print] title:Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* print title 0.000
15:21:07.227 [print] Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* def email = get response //electronicMailAddress/CharacterString 0.002
* print email 0.001
15:21:07.231 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:07.235 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('fe45c540-e37d-11e4-b571-0800200c9a66","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:49 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
* def id = "fe45c540-e37d-11e4-b571-0800200c9a66" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('fe45c540-e37d-11e4-b571-0800200c9a66","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.474
Scenario Outline Geluidkaart hoofdspoornet 2016 (Lden)
c3c004ad-5387-4b00-a225-9afbcaa5d31b <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c3c004ad-5387-4b00-a225-9afbcaa5d31b' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.772
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3c004ad-5387-4b00-a225-9afbcaa5d31b' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:07.724 [print] title:Geluidkaart hoofdspoornet 2016 (Lden)
* print title 0.000
15:21:07.725 [print] Geluidkaart hoofdspoornet 2016 (Lden)
* def email = get response //electronicMailAddress/CharacterString 0.016
* print email 0.000
15:21:07.742 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.002
15:21:07.746 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c3c004ad-5387-4b00-a225-9afbcaa5d31b","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:07.752 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"
]
* def id = "c3c004ad-5387-4b00-a225-9afbcaa5d31b" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.333
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:08.087 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b"
}
> * print "testing xlinkurl: 0.000
15:21:07.756 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.757 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc3c004ad-5387-4b00-a225-9afbcaa5d31b
> Given url link 0.000
> When method HEAD 0.328
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:08.087 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c3c004ad-5387-4b00-a225-9afbcaa5d31b","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.960
Scenario Outline Luchtfoto 2016 25cm CIR open data
1be28290-55fa-4486-b9d3-b9d147117863 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1be28290-55fa-4486-b9d3-b9d147117863' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.780
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1be28290-55fa-4486-b9d3-b9d147117863' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:07.806 [print] title:Luchtfoto 2016 25cm CIR open data
* print title 0.000
15:21:07.806 [print] Luchtfoto 2016 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.012
* print email 0.000
15:21:07.820 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.018
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:07.839 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1be28290-55fa-4486-b9d3-b9d147117863","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.012
* print nlinks 0.007
15:21:07.864 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b015",
  "",
  "",
  ""
]
* def id = "1be28290-55fa-4486-b9d3-b9d147117863" 0.058
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.033
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b015}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:07.955 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"
}
> * print "testing xlinkurl: 0.005
15:21:07.930 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.931 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b015
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:07.933 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b015
15:21:07.934 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:07.935 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b015"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:07.936 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.937 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:07.938 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:07.939 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:07.940 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:07.941 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
15:21:07.945 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:07.946 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:07.947 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:07.949 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:07.950 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:07.951 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:07.953 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:07.954 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1be28290-55fa-4486-b9d3-b9d147117863","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.507
Scenario Outline Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
8f45b8ef-0ce8-463a-9059-5efdcecb785c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8f45b8ef-0ce8-463a-9059-5efdcecb785c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.788
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8f45b8ef-0ce8-463a-9059-5efdcecb785c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:07.848 [print] title:Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
* print title 0.000
15:21:07.848 [print] Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:07.849 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:07.850 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8f45b8ef-0ce8-463a-9059-5efdcecb785c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.068
* print nlinks 0.000
15:21:07.927 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"
]
* def id = "8f45b8ef-0ce8-463a-9059-5efdcecb785c" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.320
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:08.249 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.009
15:21:07.942 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:07.944 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.299
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586"
}
> * print "testing xlinkurl: 0.000
15:21:08.245 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:08.246 [print] testing xlinkurl:http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:08.247 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/df1a98c0-58ba-48ff-8825-b4fb6322c586
15:21:08.248 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8f45b8ef-0ce8-463a-9059-5efdcecb785c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.515
Scenario Outline Gemeten Fijn stof concentraties in buitenlucht.
b3ec8793-7747-4da0-b6c3-aa384446a586 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b3ec8793-7747-4da0-b6c3-aa384446a586' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.782
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b3ec8793-7747-4da0-b6c3-aa384446a586' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:08.030 [print] title:Gemeten Fijn stof concentraties in buitenlucht.
* print title 0.000
15:21:08.031 [print] Gemeten Fijn stof concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:08.032 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:08.033 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b3ec8793-7747-4da0-b6c3-aa384446a586","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:08.039 [print] [
  "https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"
]
* def id = "b3ec8793-7747-4da0-b6c3-aa384446a586" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:08.401 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa"
}
> * print "testing xlinkurl: 0.000
15:21:08.043 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:08.043 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:08.401 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#a3095f95-0ec7-46ff-ae14-ce2173e8fafa
15:21:08.401 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b3ec8793-7747-4da0-b6c3-aa384446a586","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.215
Scenario Outline INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
493ab81b-75f8-4205-b030-6b2fd9eb4295 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '493ab81b-75f8-4205-b030-6b2fd9eb4295' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.625
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '493ab81b-75f8-4205-b030-6b2fd9eb4295' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.002
15:21:08.588 [print] title:INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
* print title 0.000
15:21:08.589 [print] INSPIRE geharmoniseerde Beschermde Gebieden - Cultuur Historie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:08.591 [print] [
  "info@cultureelerfgoed.nl",
  "info@cultureelerfgoed.nl",
  "info@cultureelerfgoed.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:08.594 [print] organisation: [
  "Rijksdienst voor het Cultureel Erfgoed",
  "Rijksdienst voor het Cultureel Erfgoed",
  "Rijksdienst voor het Cultureel Erfgoed"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('493ab81b-75f8-4205-b030-6b2fd9eb4295","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.002
15:21:08.605 [print] [
  "https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"
]
* def id = "493ab81b-75f8-4205-b030-6b2fd9eb4295" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.783
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:09.390 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip"
}
> * print "testing xlinkurl: 0.000
15:21:08.609 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:08.610 [print] testing xlinkurl:https://monumentenregister.cultureelerfgoed.nl/sites/default/files/MRS/mrs-inspire.zip
> Given url link 0.000
> When method HEAD 0.779
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:09.390 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('493ab81b-75f8-4205-b030-6b2fd9eb4295","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.773
Scenario Outline Geografische Namen (Nat) - Nederland
34e95842-4e4e-46de-9198-79e8cd4d30dc <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '34e95842-4e4e-46de-9198-79e8cd4d30dc' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.781
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '34e95842-4e4e-46de-9198-79e8cd4d30dc' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:08.873 [print] title:Geografische Namen (Nat) - Nederland
* print title 0.000
15:21:08.874 [print] Geografische Namen (Nat) - Nederland
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:08.875 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:08.876 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('34e95842-4e4e-46de-9198-79e8cd4d30dc","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
15:21:08.884 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"
]
* def id = "34e95842-4e4e-46de-9198-79e8cd4d30dc" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.487
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:09.375 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc"
}
> * print "testing xlinkurl: 0.000
15:21:08.889 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:08.890 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources34e95842-4e4e-46de-9198-79e8cd4d30dc
> Given url link 0.000
> When method HEAD 0.484
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:09.375 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('34e95842-4e4e-46de-9198-79e8cd4d30dc","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.893
Scenario Outline Actueel Hoogtebestand Nederland 1 (AHN1)
5a1adb58-0bbe-425d-b0fe-577a6c0a4228 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5a1adb58-0bbe-425d-b0fe-577a6c0a4228' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.787
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5a1adb58-0bbe-425d-b0fe-577a6c0a4228' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:09.042 [print] title:Actueel Hoogtebestand Nederland 1 (AHN1)
* print title 0.000
15:21:09.042 [print] Actueel Hoogtebestand Nederland 1 (AHN1)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:09.044 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:09.046 [print] organisation: [
  "Rijkswaterstaat",
  "stuurgroep AHN",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5a1adb58-0bbe-425d-b0fe-577a6c0a4228","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
15:21:09.054 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "5a1adb58-0bbe-425d-b0fe-577a6c0a4228" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.045
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.101 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228"
}
> * print "testing xlinkurl: 0.000
15:21:09.057 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.058 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/5a1adb58-0bbe-425d-b0fe-577a6c0a4228
> Given url link 0.000
> When method HEAD 0.339
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
15:21:09.399 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.399 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.693
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.096 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:10.096 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.096 [print]
> * def link = __arg.link 0.003
> * print "testing xlinkurl:" + link 0.000
15:21:10.100 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.100 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:10.100 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5a1adb58-0bbe-425d-b0fe-577a6c0a4228","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.606
Scenario Outline Actueel Hoogtebestand Nederland 2 (AHN2)
7939fd42-cf88-42c5-ab3b-232cf232a3ac <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7939fd42-cf88-42c5-ab3b-232cf232a3ac' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.760
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7939fd42-cf88-42c5-ab3b-232cf232a3ac' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:09.170 [print] title:Actueel Hoogtebestand Nederland 2 (AHN2)
* print title 0.000
15:21:09.170 [print] Actueel Hoogtebestand Nederland 2 (AHN2)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:09.172 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:09.174 [print] organisation: [
  "Rijkswaterstaat",
  "stuurgroep AHN",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7939fd42-cf88-42c5-ab3b-232cf232a3ac","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
15:21:09.180 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "7939fd42-cf88-42c5-ab3b-232cf232a3ac" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.915
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.097 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac"
}
> * print "testing xlinkurl: 0.000
15:21:09.186 [print]
> * def link = __arg.link 0.002
> * print "testing xlinkurl:" + link 0.000
15:21:09.189 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/7939fd42-cf88-42c5-ab3b-232cf232a3ac
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
15:21:09.505 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.505 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.588
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.094 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:10.094 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.095 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.095 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.097 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:10.097 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7939fd42-cf88-42c5-ab3b-232cf232a3ac","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.247
Scenario Outline Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
eu-f297898-2640-44c2-bbe9-c0480da83794 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-f297898-2640-44c2-bbe9-c0480da83794' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.772
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-f297898-2640-44c2-bbe9-c0480da83794' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:09.351 [print] title:Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
* print title 0.000
15:21:09.351 [print] Hydrografie - Netwerk (INSPIRE geharmoniseerd) - WT
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:09.353 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:09.354 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('eu-f297898-2640-44c2-bbe9-c0480da83794","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.005
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:09.366 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "eu-f297898-2640-44c2-bbe9-c0480da83794" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.728
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/8}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.096 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794"
}
> * print "testing xlinkurl: 0.000
15:21:09.369 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.370 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-f297898-2640-44c2-bbe9-c0480da83794
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"
}
> * print "testing xlinkurl: 0.000
15:21:09.707 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.707 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/8
> Given url link 0.000
> When method HEAD 0.385
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.094 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:10.094 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.095 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.095 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.096 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:10.096 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('eu-f297898-2640-44c2-bbe9-c0480da83794","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
5.405
Scenario Outline Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
8de2f5eb-b09f-4f6d-8397-8878a1b86238 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8de2f5eb-b09f-4f6d-8397-8878a1b86238' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.799
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8de2f5eb-b09f-4f6d-8397-8878a1b86238' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:09.461 [print] title:Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
* print title 0.000
15:21:09.461 [print] Geluidbelasting rijkswegen in Nederland 2011 (24-uurs gemiddelde)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:09.463 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:09.466 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8de2f5eb-b09f-4f6d-8397-8878a1b86238","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.002
15:21:09.472 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "8de2f5eb-b09f-4f6d-8397-8878a1b86238" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.296
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:11.770 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238"
}
> * print "testing xlinkurl: 0.000
15:21:09.476 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.477 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/8de2f5eb-b09f-4f6d-8397-8878a1b86238
> Given url link 0.000
> When method HEAD 0.504
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.001
15:21:09.984 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:09.985 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.212
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.198 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:10.198 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.199 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 1.125
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.001
15:21:11.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:11.328 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.439
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:11.769 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:11.769 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:11.770 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.770 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:11.770 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:11.770 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8de2f5eb-b09f-4f6d-8397-8878a1b86238","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.231
Scenario Outline Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
4783ea4f-6b8c-4600-8af0-516f3556cfe9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4783ea4f-6b8c-4600-8af0-516f3556cfe9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.823
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4783ea4f-6b8c-4600-8af0-516f3556cfe9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:10.204 [print] title:Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
* print title 0.001
15:21:10.205 [print] Kaderrichtlijn Water - Register Beschermd Gebied - Schelpdierwater 2008
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:10.205 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:10.208 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4783ea4f-6b8c-4600-8af0-516f3556cfe9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
15:21:10.217 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "",
  "",
  "",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "4783ea4f-6b8c-4600-8af0-516f3556cfe9" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.701
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=}, {link=}, {link=}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.919 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9"
}
> * print "testing xlinkurl: 0.000
15:21:10.228 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.229 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/4783ea4f-6b8c-4600-8af0-516f3556cfe9
> Given url link 0.000
> When method HEAD 0.452
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
15:21:10.683 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.684 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.223
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.907 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:10.907 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.908 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.908 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:10.909 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:10.910 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.002
15:21:10.910 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:10.913 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.914 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:10.914 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:10.914 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:10.914 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:10.915 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.915 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:10.915 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:10.915 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:10.915 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:10.916 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.916 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:10.919 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:10.919 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4783ea4f-6b8c-4600-8af0-516f3556cfe9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
47.040
Scenario Outline Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
50eef6be-619d-4e16-9b92-48971109b636 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '50eef6be-619d-4e16-9b92-48971109b636' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.776
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '50eef6be-619d-4e16-9b92-48971109b636' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:10.171 [print] title:Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
* print title 0.000
15:21:10.172 [print] Geluidbelasting rijkswegen in Nederland 2011 (nacht gemiddelde)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:10.174 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.002
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:10.177 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('50eef6be-619d-4e16-9b92-48971109b636","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:10.183 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "50eef6be-619d-4e16-9b92-48971109b636" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 23.127
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:33.312 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636"
}
> * print "testing xlinkurl: 0.000
15:21:10.189 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.189 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/50eef6be-619d-4e16-9b92-48971109b636
> Given url link 0.000
> When method HEAD 0.452
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
15:21:10.644 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.645 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.850 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49"
}
> * print "testing xlinkurl: 0.000
15:21:10.850 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:10.851 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.851 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/MajorRoadsNoiseExposureDelineationNight-dir-2002-49
> Given url link 0.000
> When method HEAD 5.975
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:16.828 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.829 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 16.133
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:32.963 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.963 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.345
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:33.309 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:33.310 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:33.311 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.311 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:33.312 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:33.312 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('50eef6be-619d-4e16-9b92-48971109b636","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
34.768
Scenario Outline Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
tbjk534p-wubf-crbp-cj25-d4161160gfim <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'tbjk534p-wubf-crbp-cj25-d4161160gfim' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.704
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d4161160gfim' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:10.810 [print] title:Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
* print title 0.000
15:21:10.810 [print] Kaderrichtlijn Mariene Strategie - Bevroren monitoringsdata
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:10.811 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:10.813 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('tbjk534p-wubf-crbp-cj25-d4161160gfim","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:10.819 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "tbjk534p-wubf-crbp-cj25-d4161160gfim" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 17.024
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:27.845 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim"
}
> * print "testing xlinkurl: 0.000
15:21:10.823 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.823 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/tbjk534p-wubf-crbp-cj25-d4161160gfim
> Given url link 0.000
> When method HEAD 0.323
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.001
15:21:11.149 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.150 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:11.352 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:11.353 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:11.354 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.354 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 16.133
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:27.488 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:27.489 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.355
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:27.845 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('tbjk534p-wubf-crbp-cj25-d4161160gfim","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.247
Scenario Outline Waterstanden en afvoeren actueel - Rijkswaterstaat
cf69ec50-9849-4afd-853c-ee56211d336d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'cf69ec50-9849-4afd-853c-ee56211d336d' 0.012
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.757
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee56211d336d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:10.870 [print] title:Waterstanden en afvoeren actueel - Rijkswaterstaat
* print title 0.000
15:21:10.870 [print] Waterstanden en afvoeren actueel - Rijkswaterstaat
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:10.872 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:10.873 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('cf69ec50-9849-4afd-853c-ee56211d336d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.004
15:21:10.882 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "cf69ec50-9849-4afd-853c-ee56211d336d" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.732
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:11.616 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d"
}
> * print "testing xlinkurl: 0.000
15:21:10.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:10.886 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/cf69ec50-9849-4afd-853c-ee56211d336d
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
15:21:11.201 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.201 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:11.406 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.001
15:21:11.407 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:11.408 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.409 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:11.614 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:11.614 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:11.615 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.615 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:11.616 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:11.616 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('cf69ec50-9849-4afd-853c-ee56211d336d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.915
Scenario Outline Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
a322184d-6285-4856-bb78-f450b30ffc0e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a322184d-6285-4856-bb78-f450b30ffc0e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.660
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a322184d-6285-4856-bb78-f450b30ffc0e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:11.853 [print] title:Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
* print title 0.000
15:21:11.853 [print] Bathymetrie Nederlands deel van de Noordzee dieper dan 10 m LAT
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:11.854 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:11.855 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a322184d-6285-4856-bb78-f450b30ffc0e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
15:21:11.863 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7",
  "www.hydro.nl",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "a322184d-6285-4856-bb78-f450b30ffc0e" 0.005
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.618
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7}, {link=www.hydro.nl}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:12.488 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"
}
> * print "testing xlinkurl: 0.000
15:21:11.871 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:11.872 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:12.165 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "www.hydro.nl"
}
> * print "testing xlinkurl: 0.000
15:21:12.166 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources9d973c4a-ef03-4785-b7f6-942e86b385f7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:12.167 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.167 [print] testing xlinkurl:www.hydro.nl
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:12.167 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: www.hydro.nl
15:21:12.167 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:21:12.167 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:12.168 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.168 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.319
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:12.488 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a322184d-6285-4856-bb78-f450b30ffc0e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.161
Scenario Outline Blokindeling Nederlands Continentaal Plat
c2225e5d-b46f-4e38-8445-ab10fd40c0dc <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c2225e5d-b46f-4e38-8445-ab10fd40c0dc' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.567
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c2225e5d-b46f-4e38-8445-ab10fd40c0dc' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:12.192 [print] title:Blokindeling Nederlands Continentaal Plat
* print title 0.000
15:21:12.192 [print] Blokindeling Nederlands Continentaal Plat
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:12.194 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:12.196 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c2225e5d-b46f-4e38-8445-ab10fd40c0dc","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:12.202 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"
]
* def id = "c2225e5d-b46f-4e38-8445-ab10fd40c0dc" 0.008
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.785
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:12.996 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:12.213 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.214 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.349
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc"
}
> * print "testing xlinkurl: 0.000
15:21:12.565 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.565 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsc2225e5d-b46f-4e38-8445-ab10fd40c0dc
> Given url link 0.000
> When method HEAD 0.428
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:12.995 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c2225e5d-b46f-4e38-8445-ab10fd40c0dc","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.677
Scenario Outline Vaarwegmarkeringen Nederland
be1b1514-8d1f-48e1-9624-fee9b784138b <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'be1b1514-8d1f-48e1-9624-fee9b784138b' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.561
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'be1b1514-8d1f-48e1-9624-fee9b784138b' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:12.337 [print] title:Vaarwegmarkeringen Nederland
* print title 0.000
15:21:12.337 [print] Vaarwegmarkeringen Nederland
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:12.338 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:12.340 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('be1b1514-8d1f-48e1-9624-fee9b784138b","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:12.346 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "be1b1514-8d1f-48e1-9624-fee9b784138b" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.552
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:12.900 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b"
}
> * print "testing xlinkurl: 0.000
15:21:12.349 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.350 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/be1b1514-8d1f-48e1-9624-fee9b784138b
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
15:21:12.693 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.694 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:12.896 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:21:12.896 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:12.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.899 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:12.900 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:12.900 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('be1b1514-8d1f-48e1-9624-fee9b784138b","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.551
Scenario Outline Geluidkaart hoofdspoornet 2011 (Lnight)
3e57ce43-7707-43ed-a4b9-72b3a6d812f8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3e57ce43-7707-43ed-a4b9-72b3a6d812f8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.588
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e57ce43-7707-43ed-a4b9-72b3a6d812f8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
15:21:12.459 [print] title:Geluidkaart hoofdspoornet 2011 (Lnight)
* print title 0.000
15:21:12.459 [print] Geluidkaart hoofdspoornet 2011 (Lnight)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:12.460 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:12.462 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3e57ce43-7707-43ed-a4b9-72b3a6d812f8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.008
* print nlinks 0.000
15:21:12.475 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"
]
* def id = "3e57ce43-7707-43ed-a4b9-72b3a6d812f8" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.472
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:12.948 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8"
}
> * print "testing xlinkurl: 0.003
15:21:12.482 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:12.482 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3e57ce43-7707-43ed-a4b9-72b3a6d812f8
> Given url link 0.000
> When method HEAD 0.465
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:12.948 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3e57ce43-7707-43ed-a4b9-72b3a6d812f8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.489
Scenario Outline Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
58e7dc38-a498-4852-b4ef-908f5baa9056 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '58e7dc38-a498-4852-b4ef-908f5baa9056' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.673
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58e7dc38-a498-4852-b4ef-908f5baa9056' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:13.579 [print] title:Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
* print title 0.000
15:21:13.580 [print] Begrenzingen van vergunde ontgrondingsgebieden voor zand- en grindwinning
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:13.581 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:13.582 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('58e7dc38-a498-4852-b4ef-908f5baa9056","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:13.587 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "58e7dc38-a498-4852-b4ef-908f5baa9056" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.903
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:14.492 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:13.591 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.591 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056"
}
> * print "testing xlinkurl: 0.000
15:21:13.884 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.884 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=58e7dc38-a498-4852-b4ef-908f5baa9056
> Given url link 0.000
> When method HEAD 0.497
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:14.384 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:14.384 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.103
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:14.488 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:14.489 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:14.490 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:14.490 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:14.491 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:14.491 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('58e7dc38-a498-4852-b4ef-908f5baa9056","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.332
Scenario Outline Mosselzaadinvanginstallaties
a04afee4-47d5-45b7-b7a0-a6f86106af11 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a04afee4-47d5-45b7-b7a0-a6f86106af11' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.831
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a04afee4-47d5-45b7-b7a0-a6f86106af11' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:13.786 [print] title:Mosselzaadinvanginstallaties
* print title 0.000
15:21:13.787 [print] Mosselzaadinvanginstallaties
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:13.788 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "VR@minez.nl",
  "geodatabeheer.giscc@rvo.nl",
  "beheer@pdok.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:13.790 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a04afee4-47d5-45b7-b7a0-a6f86106af11","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.006
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:13.803 [print] [
  "http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "a04afee4-47d5-45b7-b7a0-a6f86106af11" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.240
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.045 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11"
}
> * print "testing xlinkurl: 0.000
15:21:13.806 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.807 [print] testing xlinkurl:http://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a04afee4-47d5-45b7-b7a0-a6f86106af11
> Given url link 0.000
> When method HEAD 0.232
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.001
15:21:14.041 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:14.042 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 1.001
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.044 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a04afee4-47d5-45b7-b7a0-a6f86106af11","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.697
Scenario Outline Luchtfoto 2018 25cm CIR open data
7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.648
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:13.889 [print] title:Luchtfoto 2018 25cm CIR open data
* print title 0.000
15:21:13.890 [print] Luchtfoto 2018 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:13.892 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:13.894 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
15:21:13.900 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b021",
  "",
  "",
  ""
]
* def id = "7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.020
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b021}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:13.922 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"
}
> * print "testing xlinkurl: 0.000
15:21:13.905 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.906 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b021
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:13.907 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b021
15:21:13.908 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:13.909 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b021"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:13.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.910 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:13.911 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:13.912 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:13.913 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:13.914 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.915 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:13.916 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:13.916 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:13.918 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:13.919 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:13.919 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:13.920 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:13.921 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.293
Scenario Outline Geluidkaart hoofdspoornet 2011 (Lden)
844404a2-9cd0-452e-b29a-74588777485a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '844404a2-9cd0-452e-b29a-74588777485a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.610
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '844404a2-9cd0-452e-b29a-74588777485a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:14.537 [print] title:Geluidkaart hoofdspoornet 2011 (Lden)
* print title 0.000
15:21:14.538 [print] Geluidkaart hoofdspoornet 2011 (Lden)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:14.540 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:14.542 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('844404a2-9cd0-452e-b29a-74588777485a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:14.547 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"
]
* def id = "844404a2-9cd0-452e-b29a-74588777485a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.335
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:14.883 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a"
}
> * print "testing xlinkurl: 0.000
15:21:14.550 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:14.551 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records844404a2-9cd0-452e-b29a-74588777485a
> Given url link 0.000
> When method HEAD 0.331
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:14.883 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('844404a2-9cd0-452e-b29a-74588777485a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.264
Scenario Outline Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
5951efa2-1ff3-4763-a966-a2f5497679ee <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5951efa2-1ff3-4763-a966-a2f5497679ee' 0.008
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.542
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5951efa2-1ff3-4763-a966-a2f5497679ee' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:14.657 [print] title:Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
* print title 0.000
15:21:14.657 [print] Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:14.658 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:14.659 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5951efa2-1ff3-4763-a966-a2f5497679ee","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:14.664 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"
]
* def id = "5951efa2-1ff3-4763-a966-a2f5497679ee" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.356
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:15.023 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:14.676 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:14.676 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf"
}
> * print "testing xlinkurl: 0.001
15:21:15.020 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.021 [print] testing xlinkurl:http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:15.022 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/ff1d6d44-aea1-4ad5-b084-9afea143f1bf
15:21:15.022 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5951efa2-1ff3-4763-a966-a2f5497679ee","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.779
Scenario Outline Grondwater Monitoring Net
3a72b9a4-cda9-11ea-87d0-0242ac130003 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3a72b9a4-cda9-11ea-87d0-0242ac130003' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.541
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3a72b9a4-cda9-11ea-87d0-0242ac130003' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:15.039 [print] title:Grondwater Monitoring Net
* print title 0.000
15:21:15.039 [print] Grondwater Monitoring Net
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.002
15:21:15.043 [print] [
  "info@bro.nl",
  "Info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:15.051 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3a72b9a4-cda9-11ea-87d0-0242ac130003","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
15:21:15.058 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "3a72b9a4-cda9-11ea-87d0-0242ac130003" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.610
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:15.670 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"
}
> * print "testing xlinkurl: 0.000
15:21:15.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.063 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003
> Given url link 0.000
> When method HEAD 0.288
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.352 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:21:15.354 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesff07bd5a-d6eb-11ea-87d0-0242ac130003"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.356 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.356 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:15.670 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3a72b9a4-cda9-11ea-87d0-0242ac130003","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.018
Scenario Outline Waterstanden en afvoeren verwacht - Rijkswaterstaat
25294679-adb9-4c39-a93b-6954ff9414ac <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '25294679-adb9-4c39-a93b-6954ff9414ac' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.551
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25294679-adb9-4c39-a93b-6954ff9414ac' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:15.441 [print] title:Waterstanden en afvoeren verwacht - Rijkswaterstaat
* print title 0.000
15:21:15.441 [print] Waterstanden en afvoeren verwacht - Rijkswaterstaat
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:15.443 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:15.445 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('25294679-adb9-4c39-a93b-6954ff9414ac","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:15.451 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "25294679-adb9-4c39-a93b-6954ff9414ac" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.728
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/28}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:16.180 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac"
}
> * print "testing xlinkurl: 0.000
15:21:15.456 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.456 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/25294679-adb9-4c39-a93b-6954ff9414ac
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
15:21:15.773 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.774 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.975 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"
}
> * print "testing xlinkurl: 0.000
15:21:15.975 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.976 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.976 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/28
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.177 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:16.178 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/28"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.178 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.179 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:16.179 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:16.180 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('25294679-adb9-4c39-a93b-6954ff9414ac","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
5.385
Scenario Outline Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
eu-cb527d-f6db-4835-b0cd-deb245241254 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-cb527d-f6db-4835-b0cd-deb245241254' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.599
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-cb527d-f6db-4835-b0cd-deb245241254' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:15.627 [print] title:Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
* print title 0.000
15:21:15.627 [print] Vervoersnetwerken - Wegen (INSPIRE geharmoniseerd) - RWS
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:15.628 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "beheerPDOK@kadaster.nl",
  "",
  "beheerPDOK@kadaster.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:15.629 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Beheer PDOK",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('eu-cb527d-f6db-4835-b0cd-deb245241254","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:15.640 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "eu-cb527d-f6db-4835-b0cd-deb245241254" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.386
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:18.028 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254"
}
> * print "testing xlinkurl: 0.000
15:21:15.645 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.646 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-cb527d-f6db-4835-b0cd-deb245241254
> Given url link 0.000
> When method HEAD 0.320
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
15:21:15.968 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.969 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.171 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"
}
> * print "testing xlinkurl: 0.000
15:21:16.172 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.173 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.173 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60
> Given url link 0.000
> When method HEAD 0.641
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.816 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:16.816 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://inspire.ec.europa.eu/metadata-codelist/Prioritydataset/SurfaceWaterBodies-dir-2000-60"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.817 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.817 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 0.705
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:17.524 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:17.525 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.502
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:18.028 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('eu-cb527d-f6db-4835-b0cd-deb245241254","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.938
Scenario Outline Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
a7fb2234-f7b4-4a03-b282-f10947f42fb1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a7fb2234-f7b4-4a03-b282-f10947f42fb1' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.631
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7fb2234-f7b4-4a03-b282-f10947f42fb1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:15.682 [print] title:Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
* print title 0.000
15:21:15.682 [print] Kaart van de bodemopbouw in Nederland 1:50.000 onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:15.683 [print] [
  "info@dinoloket.nl",
  "geodesk.cgi@wur.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:15.685 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "Alterra, Wageningen UR",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a7fb2234-f7b4-4a03-b282-f10947f42fb1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:15.691 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "a7fb2234-f7b4-4a03-b282-f10947f42fb1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.650
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/16}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:17.343 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"
}
> * print "testing xlinkurl: 0.000
15:21:15.698 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:15.699 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:15.998 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"
}
> * print "testing xlinkurl: 0.001
15:21:15.999 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesbbe3c19d-12b0-4912-a6f4-46eb189e85ac"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.001 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.001 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/16
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.203 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.001
15:21:16.203 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.204 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.205 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.813
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:17.020 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.003
15:21:17.022 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:17.025 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:17.026 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.315
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:17.343 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a7fb2234-f7b4-4a03-b282-f10947f42fb1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.151
Scenario Outline Habitatrichtlijn verspreidingsgebied van habitattypen
03671a9e-6aaf-464d-be99-9aad25cef9e3 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '03671a9e-6aaf-464d-be99-9aad25cef9e3' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.566
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03671a9e-6aaf-464d-be99-9aad25cef9e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:16.242 [print] title:Habitatrichtlijn verspreidingsgebied van habitattypen
* print title 0.000
15:21:16.242 [print] Habitatrichtlijn verspreidingsgebied van habitattypen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:16.243 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "",
  "GeoDesk.CGI@wur.nl",
  "geodatabeheer.giscc@rvo.nl",
  "beheerPDOK@kadaster.nl",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:16.245 [print] organisation: [
  "Ministerie van Economische Zaken - GIS Competence Center",
  "",
  "Wageningen Environmental Research (Alterra)",
  "PDOK",
  "Alterra"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('03671a9e-6aaf-464d-be99-9aad25cef9e3","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:16.254 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"
]
* def id = "03671a9e-6aaf-464d-be99-9aad25cef9e3" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.285
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.539 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3"
}
> * print "testing xlinkurl: 0.000
15:21:16.257 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.257 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resources03671a9e-6aaf-464d-be99-9aad25cef9e3
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:16.539 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('03671a9e-6aaf-464d-be99-9aad25cef9e3","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.598
Scenario Outline Zeegebieden
9d9f1738-aced-47c9-aaa0-c62474a2dcfb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9d9f1738-aced-47c9-aaa0-c62474a2dcfb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.564
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9d9f1738-aced-47c9-aaa0-c62474a2dcfb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:16.749 [print] title:Zeegebieden
* print title 0.000
15:21:16.749 [print] Zeegebieden
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:16.751 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:16.753 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9d9f1738-aced-47c9-aaa0-c62474a2dcfb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:16.757 [print] [
  "http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"
]
* def id = "9d9f1738-aced-47c9-aaa0-c62474a2dcfb" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:21:16.771 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e"
}
> * print "testing xlinkurl: 0.000
15:21:16.762 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:16.763 [print] testing xlinkurl:http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:21:16.770 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 7 milliseconds for URL: http://kadaster/7c22107ea-5e31-4bbc-8e24-d15fe230062e
15:21:16.770 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9d9f1738-aced-47c9-aaa0-c62474a2dcfb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.160
Scenario Outline Adressen (INSPIRE geharmoniseerd)
a5f961e9-ebdd-41e2-b8e8-ab33ed340a83 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a5f961e9-ebdd-41e2-b8e8-ab33ed340a83' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.552
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5f961e9-ebdd-41e2-b8e8-ab33ed340a83' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:17.097 [print] title:Adressen (INSPIRE geharmoniseerd)
* print title 0.000
15:21:17.097 [print] Adressen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:17.098 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:17.100 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a5f961e9-ebdd-41e2-b8e8-ab33ed340a83","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.003
15:21:17.108 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"
]
* def id = "a5f961e9-ebdd-41e2-b8e8-ab33ed340a83" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.297
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:17.407 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.001
15:21:17.112 [print]
> * def link = __arg.link 0.002
> * print "testing xlinkurl:" + link 0.000
15:21:17.115 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.290
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94"
}
> * print "testing xlinkurl: 0.000
15:21:17.406 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:17.406 [print] testing xlinkurl:http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:17.407 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/1d32fc50-cd5b-4425-b0df-16c7c7940e94
15:21:17.407 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a5f961e9-ebdd-41e2-b8e8-ab33ed340a83","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.843
Scenario Outline Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
64c987ec-dce6-11e3-8563-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '64c987ec-dce6-11e3-8563-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.599
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '64c987ec-dce6-11e3-8563-901b0e19e163' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:21:17.377 [print] title:Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
* print title 0.000
15:21:17.377 [print] Actuele synoptische weerwaarnemingen KNMI Nederland per 10 minuten (24 uur)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:17.383 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:17.385 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('64c987ec-dce6-11e3-8563-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.004
* print nlinks 0.000
15:21:17.394 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "64c987ec-dce6-11e3-8563-901b0e19e163" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.615
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:18.010 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"
}
> * print "testing xlinkurl: 0.000
15:21:17.400 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:17.401 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b
> Given url link 0.000
> When method HEAD 0.509
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:17.911 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.001
15:21:17.911 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records1b2abd21-3084-4db7-ab49-46866b4aac2b"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:17.913 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:17.913 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.096
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:18.010 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('64c987ec-dce6-11e3-8563-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.722
Scenario Outline RDinfo
29c17585-e702-463f-a5dc-99d34b17d333 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '29c17585-e702-463f-a5dc-99d34b17d333' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.675
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '29c17585-e702-463f-a5dc-99d34b17d333' 0.002
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.007
15:21:18.032 [print] title:RDinfo
* print title 0.000
15:21:18.033 [print] RDinfo
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:18.034 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "rd@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:18.035 [print] organisation: [
  "Kadaster",
  "Dienst van Het Kadaster en Openbare Registers",
  "Dienst voor het Kadaster en de Openbare Registers"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('29c17585-e702-463f-a5dc-99d34b17d333","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
15:21:18.042 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"
]
* def id = "29c17585-e702-463f-a5dc-99d34b17d333" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.014
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:18.059 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81"
}
> * print "testing xlinkurl: 0.001
15:21:18.052 [print]
> * def link = __arg.link 0.003
> * print "testing xlinkurl:" + link 0.000
15:21:18.056 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:18.057 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a81
15:21:18.058 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('29c17585-e702-463f-a5dc-99d34b17d333","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.376
Scenario Outline Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
2cc2c30c-91b8-412a-a060-e84d25272581 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2cc2c30c-91b8-412a-a060-e84d25272581' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.632
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2cc2c30c-91b8-412a-a060-e84d25272581' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:18.042 [print] title:Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
* print title 0.000
15:21:18.043 [print] Zones en agglomeraties (Richtlijn Luchtkwaliteit) 2013
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:18.044 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:18.045 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('2cc2c30c-91b8-412a-a060-e84d25272581","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:18.052 [print] [
  "https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"
]
* def id = "2cc2c30c-91b8-412a-a060-e84d25272581" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.366
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:18.420 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b"
}
> * print "testing xlinkurl: 0.006
15:21:18.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:18.062 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:18.419 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#5cb4b489-67c8-44bc-85c5-424a80a53b3b
15:21:18.420 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('2cc2c30c-91b8-412a-a060-e84d25272581","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.322
Scenario Outline Zeegebieden (INSPIRE geharmoniseerd)
791adbe3-772f-42cb-a3be-5a617bcecef0 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '791adbe3-772f-42cb-a3be-5a617bcecef0' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.673
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '791adbe3-772f-42cb-a3be-5a617bcecef0' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:18.706 [print] title:Zeegebieden (INSPIRE geharmoniseerd)
* print title 0.000
15:21:18.706 [print] Zeegebieden (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:18.707 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:18.708 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('791adbe3-772f-42cb-a3be-5a617bcecef0","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.023
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:18.733 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"
]
* def id = "791adbe3-772f-42cb-a3be-5a617bcecef0" 0.015
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.302
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:19.051 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:18.751 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:18.752 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3"
}
> * print "testing xlinkurl: 0.000
15:21:19.050 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:19.050 [print] testing xlinkurl:http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:19.051 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/9778afe6-2152-4a8f-ba32-9697625401e3
15:21:19.051 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('791adbe3-772f-42cb-a3be-5a617bcecef0","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.397
Scenario Outline Gemeten Zwaveldioxide concentraties in buitenlucht.
500d396f-5ec6-4e4b-a151-5fb3cddd8082 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '500d396f-5ec6-4e4b-a151-5fb3cddd8082' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.647
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '500d396f-5ec6-4e4b-a151-5fb3cddd8082' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:18.710 [print] title:Gemeten Zwaveldioxide concentraties in buitenlucht.
* print title 0.000
15:21:18.711 [print] Gemeten Zwaveldioxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.016
* print email 0.000
15:21:18.727 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:18.728 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('500d396f-5ec6-4e4b-a151-5fb3cddd8082","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.003
* print nlinks 0.000
15:21:18.738 [print] [
  "https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"
]
* def id = "500d396f-5ec6-4e4b-a151-5fb3cddd8082" 0.003
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.359
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:19.101 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b"
}
> * print "testing xlinkurl: 0.000
15:21:18.744 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:18.744 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b
> Given url link 0.000
> When method HEAD 0.356
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:19.100 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#440c4a06-6924-4f9c-a9e2-6f61340f711b
15:21:19.100 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('500d396f-5ec6-4e4b-a151-5fb3cddd8082","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.184
Scenario Outline Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
14657c9b-91e4-4355-8563-2911ad0e78e4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '14657c9b-91e4-4355-8563-2911ad0e78e4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.562
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '14657c9b-91e4-4355-8563-2911ad0e78e4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.002
* print 'title:' + title 0.000
15:21:18.989 [print] title:Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
* print title 0.000
15:21:18.989 [print] Vervoersnetwerken - Gemeenschappelijke elementen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:18.990 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:18.991 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('14657c9b-91e4-4355-8563-2911ad0e78e4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
15:21:18.998 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"
]
* def id = "14657c9b-91e4-4355-8563-2911ad0e78e4" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.305
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:19.305 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:19.003 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:19.003 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66"
}
> * print "testing xlinkurl: 0.000
15:21:19.302 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:19.303 [print] testing xlinkurl:http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:19.304 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/7cdfa80a-cfbf-4324-978d-f1f141756b66
15:21:19.304 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('14657c9b-91e4-4355-8563-2911ad0e78e4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.712
Scenario Outline Bathymetrie Nederland - binnenwateren
adn73c4a-ef03-4785-b7f6-942e86b385f7 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'adn73c4a-ef03-4785-b7f6-942e86b385f7' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.615
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn73c4a-ef03-4785-b7f6-942e86b385f7' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:19.672 [print] title:Bathymetrie Nederland - binnenwateren
* print title 0.000
15:21:19.672 [print] Bathymetrie Nederland - binnenwateren
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:19.674 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:19.675 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('adn73c4a-ef03-4785-b7f6-942e86b385f7","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:19.680 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "adn73c4a-ef03-4785-b7f6-942e86b385f7" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.542
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:20.224 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7"
}
> * print "testing xlinkurl: 0.000
15:21:19.684 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:19.685 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f7
> Given url link 0.000
> When method HEAD 0.336
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
15:21:20.023 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:20.023 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:20.223 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:20.223 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:20.224 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:20.224 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:20.224 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:20.224 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('adn73c4a-ef03-4785-b7f6-942e86b385f7","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.530
Scenario Outline Bronbestanden waterkwaliteit
edf79e6a-d73d-4def-8d22-0f495cc76a73 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.523
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:19.627 [print] title:Bronbestanden waterkwaliteit
* print title 0.000
15:21:19.627 [print] Bronbestanden waterkwaliteit
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:19.628 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:19.629 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('edf79e6a-d73d-4def-8d22-0f495cc76a73","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:49 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
* def id = "edf79e6a-d73d-4def-8d22-0f495cc76a73" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('edf79e6a-d73d-4def-8d22-0f495cc76a73","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.857
Scenario Outline Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
6050578f-0010-4bfa-b013-c8617b80ba62 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6050578f-0010-4bfa-b013-c8617b80ba62' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.621
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6050578f-0010-4bfa-b013-c8617b80ba62' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:19.732 [print] title:Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
* print title 0.000
15:21:19.732 [print] Grondwatersamenstellinggegevens KRW meetronde 2012 onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:19.734 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:19.735 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6050578f-0010-4bfa-b013-c8617b80ba62","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:19.740 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "6050578f-0010-4bfa-b013-c8617b80ba62" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.612
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:20.354 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"
}
> * print "testing xlinkurl: 0.000
15:21:19.744 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:19.745 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218
> Given url link 0.000
> When method HEAD 0.291
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:20.036 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:21:20.036 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d716522-fa1a-43b4-99c0-3a3480f9e218"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:20.037 [print]
> * def link = __arg.link 0.003
> * print "testing xlinkurl:" + link 0.000
15:21:20.041 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:20.354 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6050578f-0010-4bfa-b013-c8617b80ba62","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.370
Scenario Outline Aardbevingen Nederland (KNMI)
b59f06c0-dce5-11e3-9c10-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b59f06c0-dce5-11e3-9c10-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.647
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b59f06c0-dce5-11e3-9c10-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:19.958 [print] title:Aardbevingen Nederland (KNMI)
* print title 0.000
15:21:19.958 [print] Aardbevingen Nederland (KNMI)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:19.960 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:19.961 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b59f06c0-dce5-11e3-9c10-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:19.966 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "b59f06c0-dce5-11e3-9c10-901b0e19e163" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.357
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:20.325 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"
}
> * print "testing xlinkurl: 0.000
15:21:19.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:19.973 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:20.283 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.001
15:21:20.284 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records49807edc-0007-41aa-8809-d381f6713de4"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:20.285 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:20.285 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.038
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:20.324 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b59f06c0-dce5-11e3-9c10-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.306
Scenario Outline Ziekenhuizen in Nederland (september 2013)
d9baa847-4652-4588-abe1-0b050f40f27f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd9baa847-4652-4588-abe1-0b050f40f27f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.573
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd9baa847-4652-4588-abe1-0b050f40f27f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:20.209 [print] title:Ziekenhuizen in Nederland (september 2013)
* print title 0.000
15:21:20.209 [print] Ziekenhuizen in Nederland (september 2013)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:20.211 [print] [
  "atlas@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:20.213 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d9baa847-4652-4588-abe1-0b050f40f27f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:20.217 [print] [
  "https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"
]
* def id = "d9baa847-4652-4588-abe1-0b050f40f27f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:20.583 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e"
}
> * print "testing xlinkurl: 0.000
15:21:20.228 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:20.228 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e
> Given url link 0.000
> When method HEAD 0.355
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:20.583 javax.net.ssl.SSLException: Connection reset, http call failed after 355 milliseconds for URL: https://data.rivm.nl/inspire/id#1e3a98db-5d5e-4e61-8b64-1d132ddb439e
15:21:20.583 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d9baa847-4652-4588-abe1-0b050f40f27f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.411
Scenario Outline Bodemkundig boormonsterprofiel onder INSPIRE
9dd9bf30-36e6-45ae-b368-bdef2720bdde <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9dd9bf30-36e6-45ae-b368-bdef2720bdde' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.548
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9dd9bf30-36e6-45ae-b368-bdef2720bdde' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:20.777 [print] title:Bodemkundig boormonsterprofiel onder INSPIRE
* print title 0.000
15:21:20.778 [print] Bodemkundig boormonsterprofiel onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:20.779 [print] [
  "info@dinoloket.nl",
  "geodesk.cgi@wur.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:20.779 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "Alterra, Wageningen UR",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9dd9bf30-36e6-45ae-b368-bdef2720bdde","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:20.784 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "9dd9bf30-36e6-45ae-b368-bdef2720bdde" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.431
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/16}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:22.217 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"
}
> * print "testing xlinkurl: 0.000
15:21:20.795 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:20.795 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd
> Given url link 0.000
> When method HEAD 0.286
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.083 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"
}
> * print "testing xlinkurl: 0.000
15:21:21.083 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcese26eb6c9-c441-43e8-8db6-aabbf11578fd"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.084 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.084 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/16
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.285 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
15:21:21.285 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/16"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.286 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.286 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.590
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.878 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:21:21.878 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.879 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.880 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.335
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:22.216 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9dd9bf30-36e6-45ae-b368-bdef2720bdde","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.485
Scenario Outline zoutvelden en zoutproductieputten onder INSPIRE
e3b0da1e-0664-4025-b3f5-a54d74a26450 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e3b0da1e-0664-4025-b3f5-a54d74a26450' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.666
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e3b0da1e-0664-4025-b3f5-a54d74a26450' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:20.998 [print] title:zoutvelden en zoutproductieputten onder INSPIRE
* print title 0.000
15:21:20.998 [print] zoutvelden en zoutproductieputten onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:20.999 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:21.001 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e3b0da1e-0664-4025-b3f5-a54d74a26450","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.009
15:21:21.014 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/34",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "e3b0da1e-0664-4025-b3f5-a54d74a26450" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.400
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/34}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:22.415 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"
}
> * print "testing xlinkurl: 0.002
15:21:21.019 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.020 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b
> Given url link 0.000
> When method HEAD 0.281
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.302 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"
}
> * print "testing xlinkurl: 0.002
15:21:21.302 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resourcesce4a6d93-83d6-4397-afa1-d4117d5ce76b"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.305 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.305 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/34
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.506 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
15:21:21.506 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/34"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:21.507 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.507 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.589
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:22.098 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
15:21:22.098 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:22.100 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.101 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:22.414 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e3b0da1e-0664-4025-b3f5-a54d74a26450","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.294
Scenario Outline Invasieve Exoten (INSPIRE Geharmoniseerd)
3703b249-a0eb-484e-ba7a-10e31a55bcec <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3703b249-a0eb-484e-ba7a-10e31a55bcec' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.634
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3703b249-a0eb-484e-ba7a-10e31a55bcec' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:20.992 [print] title:Invasieve Exoten (INSPIRE Geharmoniseerd)
* print title 0.000
15:21:20.992 [print] Invasieve Exoten (INSPIRE Geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:20.994 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "Geodatabeheer.GISCC@rvo.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.007
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.005
15:21:21.007 [print] organisation: Ministerie van Landbouw, Natuur en Voedselkwaliteit
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3703b249-a0eb-484e-ba7a-10e31a55bcec","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:21.011 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec",
  "579"
]
* def id = "3703b249-a0eb-484e-ba7a-10e31a55bcec" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.320
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec}, {link=579}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"579"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:21.332 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"579"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"
}
> * print "testing xlinkurl: 0.003
15:21:21.017 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.018 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec
> Given url link 0.000
> When method HEAD 0.311
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:21.330 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "579"
}
> * print "testing xlinkurl: 0.000
15:21:21.330 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records3703b249-a0eb-484e-ba7a-10e31a55bcec"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:21.331 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.331 [print] testing xlinkurl:579
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:21.331 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 579
15:21:21.331 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3703b249-a0eb-484e-ba7a-10e31a55bcec","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.585
Scenario Outline Administratieve Eenheden
c5c4a6d6-b850-473c-8ab5-af9c2c550809 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c5c4a6d6-b850-473c-8ab5-af9c2c550809' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.556
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c5c4a6d6-b850-473c-8ab5-af9c2c550809' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:21.891 [print] title:Administratieve Eenheden
* print title 0.000
15:21:21.891 [print] Administratieve Eenheden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:21.892 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:21.893 [print] organisation: [
  "Kadaster",
  "Kadaster en Openbare Registers",
  "Kadaster en de Openbare Registers"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c5c4a6d6-b850-473c-8ab5-af9c2c550809","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.010
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:21.906 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"
]
* def id = "c5c4a6d6-b850-473c-8ab5-af9c2c550809" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.006
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:21.914 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76"
}
> * print "testing xlinkurl: 0.000
15:21:21.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:21.911 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:21.912 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a76
15:21:21.913 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c5c4a6d6-b850-473c-8ab5-af9c2c550809","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.428
Scenario Outline Statistical Units Grid
db8d613f-5edc-4467-9cc0-e2dcfb9d64a8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'db8d613f-5edc-4467-9cc0-e2dcfb9d64a8' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.564
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db8d613f-5edc-4467-9cc0-e2dcfb9d64a8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:22.236 [print] title:Statistical Units Grid
* print title 0.000
15:21:22.236 [print] Statistical Units Grid
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:22.238 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:22.240 [print] organisation: [
  "Statistics Netherlands",
  "Statistics Netherlands",
  "Statistics Netherlandds",
  "Statistics Netherlands"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('db8d613f-5edc-4467-9cc0-e2dcfb9d64a8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:22.244 [print] [
  "https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs",
  ""
]
* def id = "db8d613f-5edc-4467-9cc0-e2dcfb9d64a8" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.427
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.673 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"
}
> * print "testing xlinkurl: 0.000
15:21:22.248 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.249 [print] testing xlinkurl:https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs
> Given url link 0.000
> When method HEAD 0.421
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
15:21:22.671 assertion failed: path: $, actual: 400, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:22.671 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
15:21:22.672 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.672 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.673 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:22.673 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('db8d613f-5edc-4467-9cc0-e2dcfb9d64a8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.613
Scenario Outline TOP10NL
29d5310f-dd0d-45ba-abad-b4ffc6b8785f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '29d5310f-dd0d-45ba-abad-b4ffc6b8785f' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.565
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '29d5310f-dd0d-45ba-abad-b4ffc6b8785f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:22.483 [print] title:TOP10NL
* print title 0.000
15:21:22.483 [print] TOP10NL
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:22.485 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:22.486 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('29d5310f-dd0d-45ba-abad-b4ffc6b8785f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:22.492 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b201",
  "",
  "",
  "",
  "",
  ""
]
* def id = "29d5310f-dd0d-45ba-abad-b4ffc6b8785f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.022
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b201}, {link=}, {link=}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.516 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"
}
> * print "testing xlinkurl: 0.002
15:21:22.502 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.502 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b201
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:22.503 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b201
15:21:22.503 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:22.504 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b201"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:22.505 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.505 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.506 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:22.506 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:22.506 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.507 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.507 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.508 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:22.508 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:22.509 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.509 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.510 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.510 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:22.511 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:22.511 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.512 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.512 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.513 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:22.513 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:22.513 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.514 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:22.514 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:22.515 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:22.515 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('29d5310f-dd0d-45ba-abad-b4ffc6b8785f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.456
Scenario Outline Geluidkaart Schiphol 2016 (Lnight)
58d39928-f502-48c9-a8c1-03244dc181bf <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '58d39928-f502-48c9-a8c1-03244dc181bf' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.731
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58d39928-f502-48c9-a8c1-03244dc181bf' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:23.250 [print] title:Geluidkaart Schiphol 2016 (Lnight)
* print title 0.000
15:21:23.250 [print] Geluidkaart Schiphol 2016 (Lnight)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:23.250 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:23.251 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('58d39928-f502-48c9-a8c1-03244dc181bf","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:23.256 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"
]
* def id = "58d39928-f502-48c9-a8c1-03244dc181bf" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.359
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:23.616 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf"
}
> * print "testing xlinkurl: 0.000
15:21:23.259 [print]
> * def link = __arg.link 0.001
> * print "testing xlinkurl:" + link 0.000
15:21:23.261 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records58d39928-f502-48c9-a8c1-03244dc181bf
> Given url link 0.000
> When method HEAD 0.354
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:23.616 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('58d39928-f502-48c9-a8c1-03244dc181bf","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.510
Scenario Outline Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
3a7dd0a6-d130-4c4c-b0ba-24365cf036e2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3a7dd0a6-d130-4c4c-b0ba-24365cf036e2' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.775
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3a7dd0a6-d130-4c4c-b0ba-24365cf036e2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:23.452 [print] title:Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
* print title 0.001
15:21:23.453 [print] Vervoersnetwerken - Spoorwegen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:23.454 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:23.456 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3a7dd0a6-d130-4c4c-b0ba-24365cf036e2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:23.461 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"
]
* def id = "3a7dd0a6-d130-4c4c-b0ba-24365cf036e2" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.363
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:23.825 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.004
15:21:23.468 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:23.470 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.348
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526"
}
> * print "testing xlinkurl: 0.001
15:21:23.821 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:23.822 [print] testing xlinkurl:http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:23.823 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/cb4edbd2-2dca-4d44-92bb-b2202048b526
15:21:23.824 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3a7dd0a6-d130-4c4c-b0ba-24365cf036e2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.350
Scenario Outline Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
588a4cb1-b442-4ac1-87e4-40401e353166 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '588a4cb1-b442-4ac1-87e4-40401e353166' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.621
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '588a4cb1-b442-4ac1-87e4-40401e353166' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:24.044 [print] title:Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
* print title 0.000
15:21:24.044 [print] Jaarcijfers Landelijk Meetnet Luchtkwaliteit 2012
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:24.045 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:24.046 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('588a4cb1-b442-4ac1-87e4-40401e353166","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:24.050 [print] [
  "https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"
]
* def id = "588a4cb1-b442-4ac1-87e4-40401e353166" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.359
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:24.411 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754"
}
> * print "testing xlinkurl: 0.000
15:21:24.053 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.054 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:24.411 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#b5ccab29-e2cc-4178-9f81-40c50e909754
15:21:24.411 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('588a4cb1-b442-4ac1-87e4-40401e353166","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.804
Scenario Outline Luchtfoto 2017 25cm CIR open data
7c24ea89-074e-4c4f-91e3-d38e813e9cb6 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7c24ea89-074e-4c4f-91e3-d38e813e9cb6' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.758
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c24ea89-074e-4c4f-91e3-d38e813e9cb6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:24.333 [print] title:Luchtfoto 2017 25cm CIR open data
* print title 0.000
15:21:24.334 [print] Luchtfoto 2017 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:24.336 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:24.338 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7c24ea89-074e-4c4f-91e3-d38e813e9cb6","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:24.343 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b018",
  "",
  "",
  ""
]
* def id = "7c24ea89-074e-4c4f-91e3-d38e813e9cb6" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.019
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b018}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:24.363 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"
}
> * print "testing xlinkurl: 0.001
15:21:24.347 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.348 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b018
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:24.349 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b018
15:21:24.350 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:24.351 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b018"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:24.352 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.352 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:24.353 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:24.354 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:24.355 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:24.356 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.356 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:24.357 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:24.358 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:24.359 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:24.360 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.361 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:24.362 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:24.362 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7c24ea89-074e-4c4f-91e3-d38e813e9cb6","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.373
Scenario Outline Gemeten Ozon concentraties in buitenlucht.
d8f370e8-123c-4ab3-9410-04f728327ac6 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd8f370e8-123c-4ab3-9410-04f728327ac6' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.002
When method get 0.647
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd8f370e8-123c-4ab3-9410-04f728327ac6' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:24.269 [print] title:Gemeten Ozon concentraties in buitenlucht.
* print title 0.000
15:21:24.269 [print] Gemeten Ozon concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:24.270 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:24.271 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d8f370e8-123c-4ab3-9410-04f728327ac6","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:24.274 [print] [
  "https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"
]
* def id = "d8f370e8-123c-4ab3-9410-04f728327ac6" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.358
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:24.633 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078"
}
> * print "testing xlinkurl: 0.000
15:21:24.277 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.277 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078
> Given url link 0.000
> When method HEAD 0.355
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:24.633 javax.net.ssl.SSLException: Connection reset, http call failed after 355 milliseconds for URL: https://data.rivm.nl/inspire/id#fd9c4f87-026e-4681-8d94-9702f3c83078
15:21:24.633 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d8f370e8-123c-4ab3-9410-04f728327ac6","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.355
Scenario Outline -Gegevens boormonsterprofiel onder PDOK
c7662717-9e43-4367-a344-723d73abbb3e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c7662717-9e43-4367-a344-723d73abbb3e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.765
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7662717-9e43-4367-a344-723d73abbb3e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:24.594 [print] title:-Gegevens boormonsterprofiel onder PDOK
* print title 0.000
15:21:24.594 [print] -Gegevens boormonsterprofiel onder PDOK
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:24.595 [print] [
  "info@dinoloket",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:24.596 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c7662717-9e43-4367-a344-723d73abbb3e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:24.599 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"
]
* def id = "c7662717-9e43-4367-a344-723d73abbb3e" 0.007
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.289
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:24.894 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e"
}
> * print "testing xlinkurl: 0.003
15:21:24.612 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:24.613 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7662717-9e43-4367-a344-723d73abbb3e
> Given url link 0.000
> When method HEAD 0.279
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:24.893 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c7662717-9e43-4367-a344-723d73abbb3e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.416
Scenario Outline Monitoring stations (Nitraatrichtlijn) ondiepe filters
b3f66964-a8c1-456f-9799-9cafca2cb7b1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b3f66964-a8c1-456f-9799-9cafca2cb7b1' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.677
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b3f66964-a8c1-456f-9799-9cafca2cb7b1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:25.047 [print] title:Monitoring stations (Nitraatrichtlijn) ondiepe filters
* print title 0.000
15:21:25.047 [print] Monitoring stations (Nitraatrichtlijn) ondiepe filters
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:25.049 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:25.050 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b3f66964-a8c1-456f-9799-9cafca2cb7b1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:25.055 [print] [
  "https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"
]
* def id = "b3f66964-a8c1-456f-9799-9cafca2cb7b1" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:25.422 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b"
}
> * print "testing xlinkurl: 0.000
15:21:25.065 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.065 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:25.422 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#7247293d-2113-44d8-b335-8167b2ec4d1b
15:21:25.422 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b3f66964-a8c1-456f-9799-9cafca2cb7b1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.458
Scenario Outline Emissies naar het riool in 2011 vanuit de industrie
8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.709
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f' 0.015
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
15:21:25.142 [print] title:Emissies naar het riool in 2011 vanuit de industrie
* print title 0.000
15:21:25.143 [print] Emissies naar het riool in 2011 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:25.143 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:25.144 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.006
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.005
* print nlinks 0.000
15:21:25.156 [print] [
  "https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"
]
* def id = "8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.357
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:25.515 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313"
}
> * print "testing xlinkurl: 0.000
15:21:25.160 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.161 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313
> Given url link 0.000
> When method HEAD 0.354
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:25.515 javax.net.ssl.SSLException: Connection reset, http call failed after 354 milliseconds for URL: https://data.rivm.nl/inspire/id#e6ddc53d-04c4-435d-bedd-a5ace2dc0313
15:21:25.515 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.281
Scenario Outline Administratieve Eenheden (INSPIRE geharmoniseerd)
7dd1fd45-ace5-41e0-93a6-64e3be231717 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7dd1fd45-ace5-41e0-93a6-64e3be231717' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.658
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dd1fd45-ace5-41e0-93a6-64e3be231717' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:25.296 [print] title:Administratieve Eenheden (INSPIRE geharmoniseerd)
* print title 0.000
15:21:25.296 [print] Administratieve Eenheden (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:25.297 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:25.299 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7dd1fd45-ace5-41e0-93a6-64e3be231717","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:25.306 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"
]
* def id = "7dd1fd45-ace5-41e0-93a6-64e3be231717" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.306
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:25.614 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:25.312 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.312 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.292
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.002
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1"
}
> * print "testing xlinkurl: 0.001
15:21:25.609 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.610 [print] testing xlinkurl:http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:21:25.612 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/29f0fa66-3928-4e95-ae30-5b1eab818ac1
15:21:25.613 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7dd1fd45-ace5-41e0-93a6-64e3be231717","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.834
Scenario Outline Gebieden in de territoriale zee
4617f0e0-6af4-4ac0-9044-31df9d03071c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4617f0e0-6af4-4ac0-9044-31df9d03071c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.599
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4617f0e0-6af4-4ac0-9044-31df9d03071c' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:25.500 [print] title:Zones volgens EU Gemeenschappelijk Visserijbeleid tot 3M en 6M
* print title 0.000
15:21:25.500 [print] Zones volgens EU Gemeenschappelijk Visserijbeleid tot 3M en 6M
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:25.501 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:25.502 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4617f0e0-6af4-4ac0-9044-31df9d03071c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:25.509 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"
]
* def id = "4617f0e0-6af4-4ac0-9044-31df9d03071c" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.612
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:26.123 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:25.515 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.515 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.291
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c"
}
> * print "testing xlinkurl: 0.000
15:21:25.808 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.808 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4617f0e0-6af4-4ac0-9044-31df9d03071c
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:26.123 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4617f0e0-6af4-4ac0-9044-31df9d03071c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.061
Scenario Outline Kadastrale kaart v4
a29917b9-3426-4041-a11b-69bcb2256904 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.001
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a29917b9-3426-4041-a11b-69bcb2256904' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.401
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a29917b9-3426-4041-a11b-69bcb2256904' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:25.831 [print] title:Kadastrale kaart v4
* print title 0.000
15:21:25.831 [print] Kadastrale kaart v4
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:25.832 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:25.834 [print] organisation: [
  "Kadaster",
  "Kadaster en Openbare Registers",
  "Dienst voor het Kadaster en de Openbare Registers"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a29917b9-3426-4041-a11b-69bcb2256904","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.010
* print nlinks 0.002
15:21:25.850 [print] [
  "h",
  "t",
  "t",
  "p",
  "s",
  ":",
  "/",
  "/",
  "w",
  "w",
  "w",
  ".",
  "n",
  "a",
  "t",
  "i",
  "o",
  "n",
  "a",
  "a",
  "l",
  "g",
  "e",
  "o",
  "r",
  "e",
  "g",
  "i",
  "s",
  "t",
  "e",
  "r",
  ".",
  "n",
  "l",
  ":",
  "4",
  "4",
  "3",
  "/",
  "g",
  "e",
  "o",
  "n",
  "e",
  "t",
  "w",
  "o",
  "r",
  "k",
  "/",
  "s",
  "r",
  "v",
  "/",
  "e",
  "n",
  "g",
  "/",
  "t",
  "h",
  "e",
  "s",
  "a",
  "u",
  "r",
  "u",
  "s",
  ".",
  "d",
  "o",
  "w",
  "n",
  "l",
  "o",
  "a",
  "d",
  "?",
  "r",
  "e",
  "f",
  "=",
  "e",
  "x",
  "t",
  "e",
  "r",
  "n",
  "a",
  "l",
  ".",
  "t",
  "h",
  "e",
  "m",
  "e",
  ".",
  "h",
  "t",
  "t",
  "p",
  "i",
  "n",
  "s",
  "p",
  "i",
  "r",
  "e",
  "e",
  "c",
  "e",
  "u",
  "r",
  "o",
  "p",
  "a",
  "e",
  "u",
  "t",
  "h",
  "e",
  "m",
  "e",
  "-",
  "t",
  "h",
  "e",
  "m",
  "e"
]
* def id = "a29917b9-3426-4041-a11b-69bcb2256904" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.379
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=h}, {link=t}, {link=t}, {link=p}, {link=s}, {link=:}, {link=/}, {link=/}, {link=w}, {link=w}, {link=w}, {link=.}, {link=n}, {link=a}, {link=t}, {link=i}, {link=o}, {link=n}, {link=a}, {link=a}, {link=l}, {link=g}, {link=e}, {link=o}, {link=r}, {link=e}, {link=g}, {link=i}, {link=s}, {link=t}, {link=e}, {link=r}, {link=.}, {link=n}, {link=l}, {link=:}, {link=4}, {link=4}, {link=3}, {link=/}, {link=g}, {link=e}, {link=o}, {link=n}, {link=e}, {link=t}, {link=w}, {link=o}, {link=r}, {link=k}, {link=/}, {link=s}, {link=r}, {link=v}, {link=/}, {link=e}, {link=n}, {link=g}, {link=/}, {link=t}, {link=h}, {link=e}, {link=s}, {link=a}, {link=u}, {link=r}, {link=u}, {link=s}, {link=.}, {link=d}, {link=o}, {link=w}, {link=n}, {link=l}, {link=o}, {link=a}, {link=d}, {link=?}, {link=r}, {link=e}, {link=f}, {link==}, {link=e}, {link=x}, {link=t}, {link=e}, {link=r}, {link=n}, {link=a}, {link=l}, {link=.}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}, {link=.}, {link=h}, {link=t}, {link=t}, {link=p}, {link=i}, {link=n}, {link=s}, {link=p}, {link=i}, {link=r}, {link=e}, {link=e}, {link=c}, {link=e}, {link=u}, {link=r}, {link=o}, {link=p}, {link=a}, {link=e}, {link=u}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}, {link=-}, {link=t}, {link=h}, {link=e}, {link=m}, {link=e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"k"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"?"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"="}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 101
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 102
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 103
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 104
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 105
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 106
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 107
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 108
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 109
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 110
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 111
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 112
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 113
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 114
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 115
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 116
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 117
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 118
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 119
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 120
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 121
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 122
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 123
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"-"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 124
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 125
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 126
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 127
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 128
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.228 feature call (loop) failed at index: 128
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
15:21:25.854 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.854 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.855 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:25.856 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
15:21:25.857 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.859 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.859 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.860 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:25.861 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:25.862 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.863 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.863 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.864 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:25.865 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
15:21:25.866 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.866 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.867 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.868 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
15:21:25.869 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:25.869 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.871 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.871 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.872 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:25.873 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
15:21:25.874 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.875 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.875 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:21:25.876 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:25.877 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:21:25.878 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.879 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.879 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:25.880 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:25.881 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.882 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.883 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.884 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:25.884 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
15:21:25.885 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.886 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.887 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.888 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
15:21:25.888 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
15:21:25.889 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.890 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.891 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.892 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
15:21:25.892 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
15:21:25.893 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.894 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.895 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.895 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
15:21:25.896 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
15:21:25.897 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.898 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.899 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:25.899 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:25.900 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.900 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.901 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.901 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:25.902 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:25.902 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.903 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.903 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.904 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:25.904 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:25.905 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.905 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.906 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.906 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:25.907 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
15:21:25.907 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.908 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.908 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.909 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:25.909 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:25.910 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.910 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.911 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.911 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:25.912 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:25.921 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.921 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.921 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.922 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:25.922 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:25.922 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.922 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.922 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.923 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:25.923 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:25.923 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.931 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.931 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.932 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:25.932 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
15:21:25.933 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.933 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.934 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.004
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.938 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:25.938 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.002
15:21:25.939 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.942 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.942 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.943 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:21:25.943 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:25.943 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.944 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.944 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.945 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:25.945 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.001
15:21:25.946 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.947 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.948 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.948 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:25.949 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:25.949 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.950 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.951 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.011
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.961 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:25.962 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.002
15:21:25.963 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.966 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.966 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.967 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:25.967 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[26] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
15:21:25.967 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.968 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.968 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.971 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:21:25.971 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[27] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
15:21:25.971 feature call (loop) failed at index: 26
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.973 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.973 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.974 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:25.974 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[28] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.001
15:21:25.975 feature call (loop) failed at index: 27
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.976 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.977 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.977 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:25.977 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[29] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:25.978 feature call (loop) failed at index: 28
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.979 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.979 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.980 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:25.980 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[30] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:25.980 feature call (loop) failed at index: 29
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.981 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.981 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.982 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:25.982 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[31] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.002
15:21:25.983 feature call (loop) failed at index: 30
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.986 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.986 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.987 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:25.988 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[32] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.001
15:21:25.988 feature call (loop) failed at index: 31
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.989 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.990 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.990 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:25.991 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[33] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:25.991 feature call (loop) failed at index: 32
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.992 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.992 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.993 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:25.993 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[34] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
15:21:25.994 feature call (loop) failed at index: 33
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.994 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.995 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.995 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:25.995 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[35] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
15:21:25.996 feature call (loop) failed at index: 34
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:25.997 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.997 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:21:25.998 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[36] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "4"
}
> * print "testing xlinkurl: 0.000
15:21:25.998 feature call (loop) failed at index: 35
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:21:25.999 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:25.999 [print] testing xlinkurl:4
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.000 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 4
15:21:26.000 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[37] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "4"
}
> * print "testing xlinkurl: 0.000
15:21:26.000 feature call (loop) failed at index: 36
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.001 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.001 [print] testing xlinkurl:4
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.002 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 4
15:21:26.002 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[38] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "3"
}
> * print "testing xlinkurl: 0.000
15:21:26.003 feature call (loop) failed at index: 37
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"4"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.003 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.004 [print] testing xlinkurl:3
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.004 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 3
15:21:26.004 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[39] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:26.005 feature call (loop) failed at index: 38
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"3"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.006 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.006 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.007 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:26.007 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[40] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
15:21:26.007 feature call (loop) failed at index: 39
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.008 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.008 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.009 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:21:26.009 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[41] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.010 feature call (loop) failed at index: 40
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.010 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.011 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.011 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.012 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[42] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:26.012 feature call (loop) failed at index: 41
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.013 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.013 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.013 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:26.014 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[43] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:26.014 feature call (loop) failed at index: 42
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.015 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.015 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.016 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:26.016 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[44] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.016 feature call (loop) failed at index: 43
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.017 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.017 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.018 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.018 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[45] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.018 feature call (loop) failed at index: 44
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.019 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.019 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.019 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.020 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[46] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
15:21:26.020 feature call (loop) failed at index: 45
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.021 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.021 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.021 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
15:21:26.022 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[47] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:26.022 feature call (loop) failed at index: 46
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.022 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.022 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.023 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:26.023 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[48] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.023 feature call (loop) failed at index: 47
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.023 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.023 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.024 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.024 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[49] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "k"
}
> * print "testing xlinkurl: 0.000
15:21:26.024 feature call (loop) failed at index: 48
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.029 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.029 [print] testing xlinkurl:k
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.030 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: k
15:21:26.030 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[50] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:26.030 feature call (loop) failed at index: 49
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"k"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.030 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.030 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.031 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:26.031 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[51] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:26.036 feature call (loop) failed at index: 50
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.036 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.036 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.036 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:26.037 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[52] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.037 feature call (loop) failed at index: 51
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.037 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.037 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.037 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.037 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[53] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "v"
}
> * print "testing xlinkurl: 0.003
15:21:26.037 feature call (loop) failed at index: 52
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.041 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.042 [print] testing xlinkurl:v
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.042 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: v
15:21:26.042 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[54] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.000
15:21:26.043 feature call (loop) failed at index: 53
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"v"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.043 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.044 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.044 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:26.044 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[55] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.045 feature call (loop) failed at index: 54
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.045 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.046 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.046 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.046 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[56] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:26.047 feature call (loop) failed at index: 55
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.051 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.051 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.052 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:26.053 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[57] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
15:21:26.053 feature call (loop) failed at index: 56
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.054 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:26.056 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.057 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:21:26.057 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[58] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "/"
}
> * print "testing xlinkurl: 0.001
15:21:26.058 feature call (loop) failed at index: 57
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.059 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.060 [print] testing xlinkurl:/
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.061 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: /
15:21:26.061 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[59] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.001
15:21:26.061 feature call (loop) failed at index: 58
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"/"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.062 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.063 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.063 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[60] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.001
15:21:26.063 feature call (loop) failed at index: 59
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.065 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.065 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.003
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.065 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:26.069 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[61] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.069 feature call (loop) failed at index: 60
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.070 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.071 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.071 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.072 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[62] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:26.072 feature call (loop) failed at index: 61
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.073 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.073 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.074 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:26.074 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[63] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:26.074 feature call (loop) failed at index: 62
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.076 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.076 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.076 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:26.076 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[64] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
15:21:26.076 feature call (loop) failed at index: 63
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.076 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.077 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.077 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:26.077 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[65] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.081 feature call (loop) failed at index: 64
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.082 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.082 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.082 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.082 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[66] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
15:21:26.082 feature call (loop) failed at index: 65
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.083 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.083 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.083 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:26.083 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[67] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:26.083 feature call (loop) failed at index: 66
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.084 [print]
> * def link = __arg.link 0.003
> * print "testing xlinkurl:" + link 0.000
15:21:26.087 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.087 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:26.088 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[68] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
15:21:26.088 feature call (loop) failed at index: 67
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.088 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.089 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.089 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:26.089 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[69] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
15:21:26.089 feature call (loop) failed at index: 68
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.090 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.090 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.090 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:21:26.090 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[70] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:26.090 feature call (loop) failed at index: 69
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.091 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.091 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.091 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:26.091 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[71] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "w"
}
> * print "testing xlinkurl: 0.000
15:21:26.091 feature call (loop) failed at index: 70
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.092 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.092 [print] testing xlinkurl:w
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.092 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: w
15:21:26.092 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[72] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:26.092 feature call (loop) failed at index: 71
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"w"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.093 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.093 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.093 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:26.093 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[73] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
15:21:26.093 feature call (loop) failed at index: 72
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.095 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.095 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.096 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:26.096 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[74] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:21:26.096 feature call (loop) failed at index: 73
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.096 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.096 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.097 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:26.097 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[75] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:26.097 feature call (loop) failed at index: 74
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.098 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.098 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.099 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:26.099 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[76] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.000
15:21:26.099 feature call (loop) failed at index: 75
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.099 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.099 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.100 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:21:26.100 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[77] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "?"
}
> * print "testing xlinkurl: 0.000
15:21:26.100 feature call (loop) failed at index: 76
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.100 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.101 [print] testing xlinkurl:?
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.101 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: ?
15:21:26.101 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[78] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.101 feature call (loop) failed at index: 77
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"?"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.101 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.102 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.102 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.102 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[79] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.001
15:21:26.102 feature call (loop) failed at index: 78
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.103 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.103 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.103 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.103 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[80] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.000
15:21:26.103 feature call (loop) failed at index: 79
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.104 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.104 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.104 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
15:21:26.104 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[81] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "="
}
> * print "testing xlinkurl: 0.000
15:21:26.104 feature call (loop) failed at index: 80
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.105 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.105 [print] testing xlinkurl:=
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.105 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: =
15:21:26.105 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[82] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.105 feature call (loop) failed at index: 81
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"="}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.106 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.106 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.108 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.108 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[83] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "x"
}
> * print "testing xlinkurl: 0.000
15:21:26.108 feature call (loop) failed at index: 82
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.109 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.109 [print] testing xlinkurl:x
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.109 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: x
15:21:26.109 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[84] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.109 feature call (loop) failed at index: 83
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"x"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.109 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.110 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.110 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.110 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[85] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.004
15:21:26.110 feature call (loop) failed at index: 84
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.114 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.114 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.114 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.115 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[86] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.115 feature call (loop) failed at index: 85
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.115 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.115 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.115 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.115 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[87] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:26.115 feature call (loop) failed at index: 86
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.116 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.116 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.116 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:26.116 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[88] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:26.116 feature call (loop) failed at index: 87
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.117 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.117 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.117 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:26.117 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[89] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "l"
}
> * print "testing xlinkurl: 0.000
15:21:26.117 feature call (loop) failed at index: 88
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.118 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.118 [print] testing xlinkurl:l
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.118 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: l
15:21:26.118 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[90] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
15:21:26.118 feature call (loop) failed at index: 89
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"l"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.119 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.119 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.119 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:26.119 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[91] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.119 feature call (loop) failed at index: 90
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.119 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.120 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.120 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.120 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[92] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
15:21:26.120 feature call (loop) failed at index: 91
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.120 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.120 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.121 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:26.121 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[93] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.121 feature call (loop) failed at index: 92
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.121 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.121 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.121 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.121 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[94] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
15:21:26.122 feature call (loop) failed at index: 93
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.123 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.123 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.123 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:26.123 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[95] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.123 feature call (loop) failed at index: 94
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.124 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.124 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.124 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.124 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[96] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "."
}
> * print "testing xlinkurl: 0.000
15:21:26.124 feature call (loop) failed at index: 95
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.125 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.125 [print] testing xlinkurl:.
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.125 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: .
15:21:26.125 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[97] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.006
15:21:26.125 feature call (loop) failed at index: 96
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"."}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.132 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.132 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.132 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:26.132 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[98] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.132 feature call (loop) failed at index: 97
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.133 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.133 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.133 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.133 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[99] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.133 feature call (loop) failed at index: 98
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.134 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.134 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.134 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.134 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[100] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
15:21:26.134 feature call (loop) failed at index: 99
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.135 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.135 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.135 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
15:21:26.135 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[101] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
15:21:26.135 feature call (loop) failed at index: 100
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.135 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.136 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.136 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:26.136 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[102] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:21:26.136 feature call (loop) failed at index: 101
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.136 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.136 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.137 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:21:26.137 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[103] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:21:26.137 feature call (loop) failed at index: 102
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.137 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.137 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.138 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:21:26.138 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[104] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.005
15:21:26.138 feature call (loop) failed at index: 103
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.143 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.143 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.143 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
15:21:26.143 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[105] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "i"
}
> * print "testing xlinkurl: 0.000
15:21:26.143 feature call (loop) failed at index: 104
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.144 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.144 [print] testing xlinkurl:i
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.151 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: i
15:21:26.151 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[106] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.151 feature call (loop) failed at index: 105
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"i"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.151 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.151 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.152 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.152 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[107] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.152 feature call (loop) failed at index: 106
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.152 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.152 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.153 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.153 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[108] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.153 feature call (loop) failed at index: 107
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.153 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.153 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.154 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.154 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[109] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.006
15:21:26.154 feature call (loop) failed at index: 108
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.160 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.160 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.161 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
15:21:26.161 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[110] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.161 feature call (loop) failed at index: 109
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.162 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.162 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.162 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.162 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[111] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
15:21:26.162 feature call (loop) failed at index: 110
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.163 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.163 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.163 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:26.163 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[112] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:21:26.163 feature call (loop) failed at index: 111
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.164 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.164 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.164 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:21:26.164 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[113] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.009
15:21:26.164 feature call (loop) failed at index: 112
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.174 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.174 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.175 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:21:26.175 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[114] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "p"
}
> * print "testing xlinkurl: 0.000
15:21:26.175 feature call (loop) failed at index: 113
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.175 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.175 [print] testing xlinkurl:p
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.184 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: p
15:21:26.184 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[115] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "a"
}
> * print "testing xlinkurl: 0.000
15:21:26.184 feature call (loop) failed at index: 114
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"p"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.185 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.185 [print] testing xlinkurl:a
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.187 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: a
15:21:26.188 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[116] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.188 feature call (loop) failed at index: 115
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"a"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.189 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.189 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.191 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.191 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[117] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
15:21:26.194 feature call (loop) failed at index: 116
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.195 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.195 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.202 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:21:26.202 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[118] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.202 feature call (loop) failed at index: 117
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.203 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.204 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.204 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.205 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[119] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
15:21:26.205 feature call (loop) failed at index: 118
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.205 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.206 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.206 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:26.206 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[120] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.206 feature call (loop) failed at index: 119
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.209 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.209 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.209 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.209 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[121] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
15:21:26.209 feature call (loop) failed at index: 120
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.210 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.210 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.211 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:26.211 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[122] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.211 feature call (loop) failed at index: 121
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.211 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.211 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.211 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.212 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[123] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "-"
}
> * print "testing xlinkurl: 0.000
15:21:26.212 feature call (loop) failed at index: 122
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.212 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.212 [print] testing xlinkurl:-
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.212 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: -
15:21:26.212 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[124] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "t"
}
> * print "testing xlinkurl: 0.000
15:21:26.212 feature call (loop) failed at index: 123
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"-"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.213 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.213 [print] testing xlinkurl:t
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.213 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: t
15:21:26.213 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[125] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "h"
}
> * print "testing xlinkurl: 0.000
15:21:26.213 feature call (loop) failed at index: 124
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"t"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.214 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.214 [print] testing xlinkurl:h
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.214 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: h
15:21:26.214 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[126] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:21:26.214 feature call (loop) failed at index: 125
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"h"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.215 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.215 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.215 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.215 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[127] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "m"
}
> * print "testing xlinkurl: 0.000
15:21:26.215 feature call (loop) failed at index: 126
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.225 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.225 [print] testing xlinkurl:m
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.225 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: m
15:21:26.225 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[128] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.002
15:21:26.225 feature call (loop) failed at index: 127
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"m"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.228 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.228 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:26.228 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:21:26.228 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a29917b9-3426-4041-a11b-69bcb2256904","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.478
Scenario Outline Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
08b27bf0-e34a-4b30-9eac-5edadfb6a288 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '08b27bf0-e34a-4b30-9eac-5edadfb6a288' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.725
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '08b27bf0-e34a-4b30-9eac-5edadfb6a288' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:26.244 [print] title:Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
* print title 0.000
15:21:26.244 [print] Afgevoerde hoeveelheid afval in 2015 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:26.245 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:26.246 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('08b27bf0-e34a-4b30-9eac-5edadfb6a288","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.005
* print nlinks 0.000
15:21:26.256 [print] [
  "https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"
]
* def id = "08b27bf0-e34a-4b30-9eac-5edadfb6a288" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.370
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:26.627 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804"
}
> * print "testing xlinkurl: 0.003
15:21:26.264 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
15:21:26.266 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:26.627 javax.net.ssl.SSLException: Connection reset, http call failed after 361 milliseconds for URL: https://data.rivm.nl/inspire/id#1de92b14-bc21-4f33-b0de-abd325e61804
15:21:26.627 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('08b27bf0-e34a-4b30-9eac-5edadfb6a288","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.896
Scenario Outline Nederlands deel PSSA Waddenzee
f1d27179-36eb-4376-8048-f51d2eb23a09 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f1d27179-36eb-4376-8048-f51d2eb23a09' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.562
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1d27179-36eb-4376-8048-f51d2eb23a09' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:26.180 [print] title:Nederlands deel PSSA Waddenzee
* print title 0.000
15:21:26.180 [print] Nederlands deel PSSA Waddenzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:26.181 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:26.181 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f1d27179-36eb-4376-8048-f51d2eb23a09","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.000
15:21:26.191 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"
]
* def id = "f1d27179-36eb-4376-8048-f51d2eb23a09" 0.006
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.658
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:26.855 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:26.199 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.003
15:21:26.202 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.301
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09"
}
> * print "testing xlinkurl: 0.000
15:21:26.505 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.505 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf1d27179-36eb-4376-8048-f51d2eb23a09
> Given url link 0.000
> When method HEAD 0.349
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:26.855 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f1d27179-36eb-4376-8048-f51d2eb23a09","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.428
Scenario Outline Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
b6ee58a1-b097-4c6d-8600-eb81efc1468c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b6ee58a1-b097-4c6d-8600-eb81efc1468c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.568
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b6ee58a1-b097-4c6d-8600-eb81efc1468c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:26.695 [print] title:Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
* print title 0.000
15:21:26.695 [print] Productie/industrie-inrichtingen (o.b.v. SBI-codes) uit {Risico Register Gevaarlijke stoffen (RRGS)}
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:26.696 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:26.697 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b6ee58a1-b097-4c6d-8600-eb81efc1468c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:26.702 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "b6ee58a1-b097-4c6d-8600-eb81efc1468c" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.928
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:27.631 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:26.705 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.706 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.290
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c"
}
> * print "testing xlinkurl: 0.000
15:21:26.997 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.997 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=b6ee58a1-b097-4c6d-8600-eb81efc1468c
> Given url link 0.000
> When method HEAD 0.580
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:27.579 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:27.579 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.041
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:27.621 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:27.624 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:27.625 [print]
> * def link = __arg.link 0.004
> * print "testing xlinkurl:" + link 0.000
15:21:27.630 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:27.631 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:27.631 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b6ee58a1-b097-4c6d-8600-eb81efc1468c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.332
Scenario Outline Monitoring stations (Nitraatrichtlijn) diepe filters
36a7e8cb-8300-4602-93d2-135943365a6f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '36a7e8cb-8300-4602-93d2-135943365a6f' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.584
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '36a7e8cb-8300-4602-93d2-135943365a6f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:26.824 [print] title:Monitoring stations (Nitraatrichtlijn) diepe filters
* print title 0.000
15:21:26.824 [print] Monitoring stations (Nitraatrichtlijn) diepe filters
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:26.825 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:26.826 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('36a7e8cb-8300-4602-93d2-135943365a6f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:26.832 [print] [
  "https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"
]
* def id = "36a7e8cb-8300-4602-93d2-135943365a6f" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.367
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:27.199 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f"
}
> * print "testing xlinkurl: 0.000
15:21:26.836 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:26.837 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f
> Given url link 0.000
> When method HEAD 0.361
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:27.198 javax.net.ssl.SSLException: Connection reset, http call failed after 360 milliseconds for URL: https://data.rivm.nl/inspire/id#36a7e8cb-8300-4602-93d2-135943365a6f
15:21:27.198 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('36a7e8cb-8300-4602-93d2-135943365a6f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.372
Scenario Outline Gecontroleerde klimatologische daggegevens KNMI Nederland
daa63e4c-dce6-11e3-991e-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'daa63e4c-dce6-11e3-991e-901b0e19e163' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.592
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'daa63e4c-dce6-11e3-991e-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:27.224 [print] title:Gecontroleerde klimatologische daggegevens KNMI Nederland
* print title 0.000
15:21:27.224 [print] Gecontroleerde klimatologische daggegevens KNMI Nederland
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:27.225 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:27.226 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('daa63e4c-dce6-11e3-991e-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:27.230 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "daa63e4c-dce6-11e3-991e-901b0e19e163" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.387
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:27.618 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"
}
> * print "testing xlinkurl: 0.000
15:21:27.233 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:27.234 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e
> Given url link 0.000
> When method HEAD 0.331
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:27.566 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.001
15:21:27.568 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6e4a2001-fef7-471c-8286-4f859bc1131e"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:27.569 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:27.570 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.046
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:27.617 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('daa63e4c-dce6-11e3-991e-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.942
Scenario Outline Geologisch booronderzoek onder INSPIRE
6c1cf452-8c62-4046-99ab-640a5e184f9c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6c1cf452-8c62-4046-99ab-640a5e184f9c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.700
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c1cf452-8c62-4046-99ab-640a5e184f9c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:27.560 [print] title:Geologisch booronderzoek onder INSPIRE
* print title 0.000
15:21:27.560 [print] Geologisch booronderzoek onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:27.561 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:27.563 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6c1cf452-8c62-4046-99ab-640a5e184f9c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.004
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.001
15:21:27.572 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "6c1cf452-8c62-4046-99ab-640a5e184f9c" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.613
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:29.187 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"
}
> * print "testing xlinkurl: 0.000
15:21:27.576 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
15:21:27.578 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f
> Given url link 0.000
> When method HEAD 0.313
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:27.893 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.000
15:21:27.893 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources7d4d5090-8b18-4c30-a07a-9d738039112f"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:27.894 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:27.894 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.207
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:28.102 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
15:21:28.102 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:28.103 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:28.103 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.592
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:28.695 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:21:28.695 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:28.696 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:28.696 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.490
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:29.187 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6c1cf452-8c62-4046-99ab-640a5e184f9c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.476
Scenario Outline Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
3387ef8a-9237-453a-aa4e-585d1e193550 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3387ef8a-9237-453a-aa4e-585d1e193550' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.622
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3387ef8a-9237-453a-aa4e-585d1e193550' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:27.827 [print] title:Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
* print title 0.000
15:21:27.827 [print] Nationaal Beschermde Gebieden (CDDA) (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:27.829 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:27.830 [print] organisation: [
  "Ministerie van Economische Zaken - GIS Competence Center",
  "Ministerie van Landbouw, Natuur en Voedselkwaliteit",
  "Ministerie van Economische Zaken - GIS Competence Center"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3387ef8a-9237-453a-aa4e-585d1e193550","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:27.835 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl"
]
* def id = "3387ef8a-9237-453a-aa4e-585d1e193550" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.922
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:28.760 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:27.840 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:27.840 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.299
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550"
}
> * print "testing xlinkurl: 0.000
15:21:28.142 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:28.143 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/3387ef8a-9237-453a-aa4e-585d1e193550
> Given url link 0.000
> When method HEAD 0.563
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:28.707 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:28.707 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.050
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:28.759 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3387ef8a-9237-453a-aa4e-585d1e193550","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.726
Scenario Outline LCP emissies (Richtlijn Industriële emissies) 2016
d24ccb35-e9d2-41bf-b231-43083fc0c76d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd24ccb35-e9d2-41bf-b231-43083fc0c76d' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.996
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd24ccb35-e9d2-41bf-b231-43083fc0c76d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:28.623 [print] title:LCP emissies (Richtlijn Industriële emissies) 2016
* print title 0.000
15:21:28.623 [print] LCP emissies (Richtlijn Industriële emissies) 2016
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:28.624 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:28.625 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d24ccb35-e9d2-41bf-b231-43083fc0c76d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:28.628 [print] [
  "https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"
]
* def id = "d24ccb35-e9d2-41bf-b231-43083fc0c76d" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.359
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:28.988 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3"
}
> * print "testing xlinkurl: 0.000
15:21:28.631 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:28.631 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3
> Given url link 0.000
> When method HEAD 0.356
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:28.988 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#6941b1f2-7ee6-4a1d-9cba-9071e3ca6cb3
15:21:28.988 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d24ccb35-e9d2-41bf-b231-43083fc0c76d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.128
Scenario Outline Bathymetrie Nederland - kust
adn73c4a-ef03-4785-b7f6-942e86b385f5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'adn73c4a-ef03-4785-b7f6-942e86b385f5' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 1.023
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn73c4a-ef03-4785-b7f6-942e86b385f5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:28.659 [print] title:Bathymetrie Nederland - kust
* print title 0.000
15:21:28.659 [print] Bathymetrie Nederland - kust
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.001
15:21:28.660 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:28.663 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('adn73c4a-ef03-4785-b7f6-942e86b385f5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:28.670 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "adn73c4a-ef03-4785-b7f6-942e86b385f5" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.548
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/10}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:29.219 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5"
}
> * print "testing xlinkurl: 0.000
15:21:28.673 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:28.674 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/adn73c4a-ef03-4785-b7f6-942e86b385f5
> Given url link 0.000
> When method HEAD 0.325
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"
}
> * print "testing xlinkurl: 0.000
15:21:29.002 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.002 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/10
> Given url link 0.000
> When method HEAD 0.210
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:29.213 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:21:29.217 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/10"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:29.219 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.219 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:29.219 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:29.219 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('adn73c4a-ef03-4785-b7f6-942e86b385f5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.635
Scenario Outline Emissies naar lucht en water in 2011 vanuit de industrie
ad6caa40-89ab-47e3-85ab-3f8e32024a71 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ad6caa40-89ab-47e3-85ab-3f8e32024a71' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.900
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ad6caa40-89ab-47e3-85ab-3f8e32024a71' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:28.748 [print] title:Emissies naar lucht en water in 2011 vanuit de industrie
* print title 0.000
15:21:28.749 [print] Emissies naar lucht en water in 2011 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:28.750 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:28.751 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ad6caa40-89ab-47e3-85ab-3f8e32024a71","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:28.755 [print] [
  "https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"
]
* def id = "ad6caa40-89ab-47e3-85ab-3f8e32024a71" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.365
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:29.122 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65"
}
> * print "testing xlinkurl: 0.000
15:21:28.763 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:28.764 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:21:29.121 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#6e6bf543-e1e3-468d-afae-e88618ad9a65
15:21:29.121 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ad6caa40-89ab-47e3-85ab-3f8e32024a71","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.733
Scenario Outline BRO Digital Geological Model (DGM)
F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.665
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.015
* print 'title:' + title 0.004
15:21:29.448 [print] title:BRO Digital Geological Model (DGM)
* print title 0.000
15:21:29.448 [print] BRO Digital Geological Model (DGM)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:29.449 [print] [
  "info@bro.nl",
  "info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:29.452 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:29.458 [print] [
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.021
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:30.480 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
15:21:29.462 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.466 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:29.747 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.001
15:21:29.747 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesc7a15080-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:29.749 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.749 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.211
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:29.961 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"
}
> * print "testing xlinkurl: 0.003
15:21:29.961 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:29.964 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.965 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/#
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:30.169 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:21:30.170 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:30.170 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:30.171 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:30.479 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('F646DFB9-5BF6-EAB9-042B-CAB6FF2DC275","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.713
Scenario Outline Landelijk grondwaterregister - Faciliteiten voor productie en industrie
afc450bd-65b3-4e59-b0fb-619869bf6ada <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'afc450bd-65b3-4e59-b0fb-619869bf6ada' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.700
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'afc450bd-65b3-4e59-b0fb-619869bf6ada' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:29.692 [print] title:Landelijk grondwaterregister - Faciliteiten voor productie en industrie
* print title 0.000
15:21:29.692 [print] Landelijk grondwaterregister - Faciliteiten voor productie en industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:29.693 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:29.694 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('afc450bd-65b3-4e59-b0fb-619869bf6ada","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:29.697 [print] [
  ""
]
* def id = "afc450bd-65b3-4e59-b0fb-619869bf6ada" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.002
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:29.701 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:29.700 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.700 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:29.701 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:29.701 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('afc450bd-65b3-4e59-b0fb-619869bf6ada","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.906
Scenario Outline BRO REGIS II Hydrogeologisch model (HGM)
E7D9F0D6-2B8D-6699-F26E-4A781228F2DD <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'E7D9F0D6-2B8D-6699-F26E-4A781228F2DD' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.739
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'E7D9F0D6-2B8D-6699-F26E-4A781228F2DD' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:29.865 [print] title:BRO REGIS II Hydrogeologisch model (HGM)
* print title 0.000
15:21:29.865 [print] BRO REGIS II Hydrogeologisch model (HGM)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:29.867 [print] [
  "info@bro.nl",
  "info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:29.867 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('E7D9F0D6-2B8D-6699-F26E-4A781228F2DD","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:29.871 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/NAP",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"
]
* def id = "E7D9F0D6-2B8D-6699-F26E-4A781228F2DD" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.579
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/NAP}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:30.451 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/NAP"
}
> * print "testing xlinkurl: 0.000
15:21:29.874 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.874 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/NAP
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
15:21:30.171 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:30.172 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd72ddff0-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.279
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:30.451 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('E7D9F0D6-2B8D-6699-F26E-4A781228F2DD","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.411
Scenario Outline CBS Provincies 2012
71c2b7d2-a1a8-4836-b8d4-7247d331b04d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '71c2b7d2-a1a8-4836-b8d4-7247d331b04d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.789
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '71c2b7d2-a1a8-4836-b8d4-7247d331b04d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:29.981 [print] title:CBS Provincies 2012
* print title 0.000
15:21:29.981 [print] CBS Provincies 2012
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:29.983 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:29.985 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('71c2b7d2-a1a8-4836-b8d4-7247d331b04d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:29.990 [print] [
  "http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip",
  ""
]
* def id = "71c2b7d2-a1a8-4836-b8d4-7247d331b04d" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.305
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:30.297 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip"
}
> * print "testing xlinkurl: 0.000
15:21:29.995 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:29.996 [print] testing xlinkurl:http://geodata.nationaalgeoregister.nl/cbsprovincies/extract/cbsprovincies.zip
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:30.295 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:30.296 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:30.297 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:30.297 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('71c2b7d2-a1a8-4836-b8d4-7247d331b04d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.872
Scenario Outline Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
eu-2c7040b-c448-451b-bf15-f2416ecaadd1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'eu-2c7040b-c448-451b-bf15-f2416ecaadd1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.736
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'eu-2c7040b-c448-451b-bf15-f2416ecaadd1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:29.961 [print] title:Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
* print title 0.000
15:21:29.961 [print] Vervoersnetwerken - Waterwegen (INSPIRE geharmoniseerd) - WT
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:29.962 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:29.964 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('eu-2c7040b-c448-451b-bf15-f2416ecaadd1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
15:21:29.972 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "eu-2c7040b-c448-451b-bf15-f2416ecaadd1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.561
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:30.534 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1"
}
> * print "testing xlinkurl: 0.000
15:21:29.975 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:29.977 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/eu-2c7040b-c448-451b-bf15-f2416ecaadd1
> Given url link 0.000
> When method HEAD 0.341
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
15:21:30.319 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:30.319 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.212
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:30.532 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:30.533 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:30.533 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:30.534 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:30.534 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:30.534 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('eu-2c7040b-c448-451b-bf15-f2416ecaadd1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.799
Scenario Outline Maritieme grenzen - Noordzee
a5241416-8401-4623-be61-57ef50447a41 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a5241416-8401-4623-be61-57ef50447a41' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.605
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5241416-8401-4623-be61-57ef50447a41' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:30.309 [print] title:Maritieme grenzen - Noordzee
* print title 0.000
15:21:30.309 [print] Maritieme grenzen - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:30.311 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:30.313 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a5241416-8401-4623-be61-57ef50447a41","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:30.316 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"
]
* def id = "a5241416-8401-4623-be61-57ef50447a41" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.593
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
15:21:30.911 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:30.319 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:30.320 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41"
}
> * print "testing xlinkurl: 0.000
15:21:30.619 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:30.621 [print] testing xlinkurl:https://www.nationaalgeoregister.nl:443/geonetwork/srv/api/records/a5241416-8401-4623-be61-57ef50447a41
> Given url link 0.000
> When method HEAD 0.289
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
15:21:30.910 assertion failed: path: $, actual: 400, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a5241416-8401-4623-be61-57ef50447a41","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.922
Scenario Outline Overstromingsrisicokaarten
2daad588-11ef-47de-9832-6fe2c3b93e6d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2daad588-11ef-47de-9832-6fe2c3b93e6d' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.670
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2daad588-11ef-47de-9832-6fe2c3b93e6d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:31.126 [print] title:Overstromingsrisicokaarten
* print title 0.000
15:21:31.126 [print] Overstromingsrisicokaarten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:31.127 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:31.128 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('2daad588-11ef-47de-9832-6fe2c3b93e6d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:31.131 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "2daad588-11ef-47de-9832-6fe2c3b93e6d" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.622
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:31.755 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d"
}
> * print "testing xlinkurl: 0.000
15:21:31.134 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.134 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=2daad588-11ef-47de-9832-6fe2c3b93e6d
> Given url link 0.000
> When method HEAD 0.580
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:31.716 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.716 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:31.751 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:31.753 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:31.753 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.754 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:31.754 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:31.755 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('2daad588-11ef-47de-9832-6fe2c3b93e6d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.773
Scenario Outline Afvalinrichtingen inclusief nucleaire inrichtingen
f5f68d51-2ca4-4897-8227-d3938b2b0a7e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f5f68d51-2ca4-4897-8227-d3938b2b0a7e' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.699
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5f68d51-2ca4-4897-8227-d3938b2b0a7e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:31.184 [print] title:Afvalinrichtingen inclusief nucleaire inrichtingen
* print title 0.000
15:21:31.184 [print] Afvalinrichtingen inclusief nucleaire inrichtingen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:31.185 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:31.186 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.001
* eval db.mywriteln('f5f68d51-2ca4-4897-8227-d3938b2b0a7e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:31.191 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f5f68d51-2ca4-4897-8227-d3938b2b0a7e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.533
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:31.727 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e"
}
> * print "testing xlinkurl: 0.000
15:21:31.195 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:31.196 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f5f68d51-2ca4-4897-8227-d3938b2b0a7e
> Given url link 0.000
> When method HEAD 0.485
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:31.683 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.684 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.035
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:31.719 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:31.720 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:31.721 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.722 [print] testing xlinkurl:
> Given url link 0.001
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:31.725 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:31.725 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f5f68d51-2ca4-4897-8227-d3938b2b0a7e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.617
Scenario Outline Nationale Landschappen
60a2a7c2-d5b3-4ad5-b562-c448695357fb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '60a2a7c2-d5b3-4ad5-b562-c448695357fb' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.762
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '60a2a7c2-d5b3-4ad5-b562-c448695357fb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:31.300 [print] title:Nationale Landschappen
* print title 0.000
15:21:31.300 [print] Nationale Landschappen
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:31.301 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:31.303 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('60a2a7c2-d5b3-4ad5-b562-c448695357fb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:31.307 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "60a2a7c2-d5b3-4ad5-b562-c448695357fb" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.924
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:32.231 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:31.311 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.311 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.344
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb"
}
> * print "testing xlinkurl: 0.000
15:21:31.657 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.657 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=60a2a7c2-d5b3-4ad5-b562-c448695357fb
> Given url link 0.000
> When method HEAD 0.522
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:32.181 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.181 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.045
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:32.227 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:32.228 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:32.229 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.229 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:32.230 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:32.231 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('60a2a7c2-d5b3-4ad5-b562-c448695357fb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.525
Scenario Outline Stiltegebieden
cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.641
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:31.507 [print] title:Stiltegebieden
* print title 0.000
15:21:31.508 [print] Stiltegebieden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:31.508 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:31.509 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:31.513 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.939
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:32.453 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:31.516 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.517 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5"
}
> * print "testing xlinkurl: 0.000
15:21:31.816 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.816 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5
> Given url link 0.000
> When method HEAD 0.598
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:32.415 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.415 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.034
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:32.450 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:32.452 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:32.453 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.453 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:32.453 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:32.453 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.383
Scenario Outline Provinciale monumenten
ca94a0cb-7561-4a10-a7d6-b840e56c33ff <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ca94a0cb-7561-4a10-a7d6-b840e56c33ff' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.672
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca94a0cb-7561-4a10-a7d6-b840e56c33ff' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:31.588 [print] title:Provinciale monumenten
* print title 0.000
15:21:31.588 [print] Provinciale monumenten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:31.589 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:31.590 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ca94a0cb-7561-4a10-a7d6-b840e56c33ff","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:31.597 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "ca94a0cb-7561-4a10-a7d6-b840e56c33ff" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.850
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:32.451 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.001
15:21:31.605 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:31.607 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff"
}
> * print "testing xlinkurl: 0.000
15:21:31.906 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:31.906 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=ca94a0cb-7561-4a10-a7d6-b840e56c33ff
> Given url link 0.000
> When method HEAD 0.486
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:32.394 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.394 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.052
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:32.447 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:32.447 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:32.448 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.448 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:32.450 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:32.450 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ca94a0cb-7561-4a10-a7d6-b840e56c33ff","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.344
Scenario Outline Wet Ammoniak en Veehouderij gebieden
998ba1dc-f6a6-49a3-a021-51f30d9b1d0e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '998ba1dc-f6a6-49a3-a021-51f30d9b1d0e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.516
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '998ba1dc-f6a6-49a3-a021-51f30d9b1d0e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:32.246 [print] title:Wet Ammoniak en Veehouderij gebieden
* print title 0.000
15:21:32.247 [print] Wet Ammoniak en Veehouderij gebieden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:32.247 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:32.249 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('998ba1dc-f6a6-49a3-a021-51f30d9b1d0e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:32.252 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "998ba1dc-f6a6-49a3-a021-51f30d9b1d0e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.910
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:33.164 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:32.255 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.255 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.297
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e"
}
> * print "testing xlinkurl: 0.000
15:21:32.554 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.554 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e
> Given url link 0.000
> When method HEAD 0.567
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:33.123 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.123 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.037
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.161 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:33.161 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.163 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.163 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:33.164 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:33.164 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('998ba1dc-f6a6-49a3-a021-51f30d9b1d0e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.311
Scenario Outline Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
49ab8bee-b467-486a-96ca-b950443c453a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '49ab8bee-b467-486a-96ca-b950443c453a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.620
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ab8bee-b467-486a-96ca-b950443c453a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:32.379 [print] title:Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
* print title 0.000
15:21:32.380 [print] Beschermde gebieden - Provincies (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:32.381 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:32.382 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('49ab8bee-b467-486a-96ca-b950443c453a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:21:32.390 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "49ab8bee-b467-486a-96ca-b950443c453a" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.839
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:33.230 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.002
15:21:32.395 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.395 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.291
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a"
}
> * print "testing xlinkurl: 0.000
15:21:32.688 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.688 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=49ab8bee-b467-486a-96ca-b950443c453a
> Given url link 0.000
> When method HEAD 0.503
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:33.193 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.193 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.035
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.229 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:33.229 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.230 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.230 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:33.230 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:33.230 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('49ab8bee-b467-486a-96ca-b950443c453a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.482
Scenario Outline NB-wetgebieden buiten Natura 2000
f0821bfe-5a0a-11e9-8647-d663bd873d93 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f0821bfe-5a0a-11e9-8647-d663bd873d93' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.612
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0821bfe-5a0a-11e9-8647-d663bd873d93' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:32.848 [print] title:NB-wetgebieden buiten Natura 2000
* print title 0.000
15:21:32.848 [print] NB-wetgebieden buiten Natura 2000
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:32.848 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:32.849 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f0821bfe-5a0a-11e9-8647-d663bd873d93","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.005
15:21:32.857 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f0821bfe-5a0a-11e9-8647-d663bd873d93" 0.009
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.927
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:33.794 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.009
15:21:32.878 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:32.878 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93"
}
> * print "testing xlinkurl: 0.000
15:21:33.175 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.175 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f0821bfe-5a0a-11e9-8647-d663bd873d93
> Given url link 0.000
> When method HEAD 0.553
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:33.730 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.730 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.043
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.014
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.788 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:33.789 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.791 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.791 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:33.792 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:33.793 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f0821bfe-5a0a-11e9-8647-d663bd873d93","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
24.698
Scenario Outline Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
110f9ec6-4464-462e-9765-83d90cefbeab <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeab' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.710
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeab' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:33.164 [print] title:Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
* print title 0.000
15:21:33.164 [print] Kaderrichtlijn Water - Stroomgebieddistricten Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:33.165 [print] [
  "servicedesk@ihw.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.006
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:33.172 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbeab","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.003
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
15:21:33.181 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeab" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 11.985
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:45.168 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab"
}
> * print "testing xlinkurl: 0.003
15:21:33.188 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.188 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/10f9ec6-4464-462e-9765-83d90cefbeab
> Given url link 0.000
> When method HEAD 0.365
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:33.555 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.555 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.758 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:33.758 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:33.759 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.759 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.085
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:44.846 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:44.846 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.316
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:45.163 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:21:45.163 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:45.166 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:45.166 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:45.167 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:45.167 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbeab","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.409
Scenario Outline Overheidsdiensten
c935f2ab-9b65-4dc4-94a0-73aeb840a941 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.402
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:32.860 [print] title:Overheidsdiensten
* print title 0.000
15:21:32.860 [print] Overheidsdiensten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:32.860 [print] [
  "erik.simonse@kvk.nl",
  "erik.simonse@kvk.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:32.861 [print] organisation: [
  "Kamer van Koophandel",
  "Kamer van Koophandel"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c935f2ab-9b65-4dc4-94a0-73aeb840a941","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:49 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
* def id = "c935f2ab-9b65-4dc4-94a0-73aeb840a941" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c935f2ab-9b65-4dc4-94a0-73aeb840a941","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.778
Scenario Outline Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
krw-f7bb2351-9788-42ea-a58b-a5ee1842304e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw-f7bb2351-9788-42ea-a58b-a5ee1842304e' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.645
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw-f7bb2351-9788-42ea-a58b-a5ee1842304e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:33.512 [print] title:Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
* print title 0.000
15:21:33.512 [print] Kaderrichtlijn Water - Stroomgebieddistricten Nederland 2019 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:33.513 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:33.514 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw-f7bb2351-9788-42ea-a58b-a5ee1842304e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:33.517 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw-f7bb2351-9788-42ea-a58b-a5ee1842304e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.567
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:35.085 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e"
}
> * print "testing xlinkurl: 0.000
15:21:33.527 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.528 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-f7bb2351-9788-42ea-a58b-a5ee1842304e
> Given url link 0.000
> When method HEAD 0.324
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:33.854 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.854 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:34.055 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:34.055 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:34.056 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.056 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 0.692
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:34.750 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.750 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.332
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:35.084 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:35.084 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:35.085 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.085 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:35.085 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:35.085 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw-f7bb2351-9788-42ea-a58b-a5ee1842304e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.247
Scenario Outline Territoriale Zee volgens UNCLOS - Noordzee
bb11be63-bd38-4632-bf54-df44c423a529 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'bb11be63-bd38-4632-bf54-df44c423a529' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.607
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bb11be63-bd38-4632-bf54-df44c423a529' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:33.780 [print] title:Territoriale Zee volgens UNCLOS - Noordzee
* print title 0.000
15:21:33.781 [print] Territoriale Zee volgens UNCLOS - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:33.782 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:21:33.784 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('bb11be63-bd38-4632-bf54-df44c423a529","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.007
15:21:33.795 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"
]
* def id = "bb11be63-bd38-4632-bf54-df44c423a529" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.808
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:34.606 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:33.799 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.800 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.299
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529"
}
> * print "testing xlinkurl: 0.000
15:21:34.101 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.101 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsbb11be63-bd38-4632-bf54-df44c423a529
> Given url link 0.000
> When method HEAD 0.503
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:34.605 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('bb11be63-bd38-4632-bf54-df44c423a529","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.123
Scenario Outline Aansluitende zone volgens UNCLOS - Noordzee
4cda487b-c467-490c-a843-6563fec016be <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '4cda487b-c467-490c-a843-6563fec016be' 0.005
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.676
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4cda487b-c467-490c-a843-6563fec016be' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:33.914 [print] title:Aansluitende zone volgens UNCLOS - Noordzee
* print title 0.000
15:21:33.915 [print] Aansluitende zone volgens UNCLOS - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:33.915 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:33.916 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4cda487b-c467-490c-a843-6563fec016be","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:33.920 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"
]
* def id = "4cda487b-c467-490c-a843-6563fec016be" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.717
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:34.638 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:21:33.923 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:33.923 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be"
}
> * print "testing xlinkurl: 0.000
15:21:34.220 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.220 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records4cda487b-c467-490c-a843-6563fec016be
> Given url link 0.000
> When method HEAD 0.417
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:34.638 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('4cda487b-c467-490c-a843-6563fec016be","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
8.724
Scenario Outline Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
uwwtd-9d8e-4758-83fa-28b057f185e3 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e3' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.661
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e3' 0.050
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:34.027 [print] title:Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
* print title 0.000
15:21:34.027 [print] Richtlijn Stedelijk Afvalwater - rioolwaterzuiveringsinstallaties Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:34.028 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:34.029 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('uwwtd-9d8e-4758-83fa-28b057f185e3","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
15:21:34.038 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e3" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 4.000
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:38.040 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3"
}
> * print "testing xlinkurl: 0.000
15:21:34.041 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.042 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e3
> Given url link 0.000
> When method HEAD 0.321
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:34.365 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.366 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.210
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:34.576 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:34.576 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:34.577 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.577 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 3.101
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:37.680 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.681 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.357
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:38.038 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:38.038 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:38.039 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.039 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:38.040 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:38.040 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('uwwtd-9d8e-4758-83fa-28b057f185e3","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.498
Scenario Outline Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
0f128799-cf18-4b37-a721-e62b068191f5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '0f128799-cf18-4b37-a721-e62b068191f5' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.654
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0f128799-cf18-4b37-a721-e62b068191f5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:34.451 [print] title:Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
* print title 0.000
15:21:34.451 [print] Gebiedsbeheer, gebieden waar beperkingen gelden, gereguleerde gebieden en rapportage-eenheden - Provincies (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:34.453 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:34.453 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('0f128799-cf18-4b37-a721-e62b068191f5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:34.457 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "0f128799-cf18-4b37-a721-e62b068191f5" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.919
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.377 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:34.460 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.460 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5"
}
> * print "testing xlinkurl: 0.000
15:21:34.757 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:34.757 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=0f128799-cf18-4b37-a721-e62b068191f5
> Given url link 0.000
> When method HEAD 0.570
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:35.329 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.329 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.042
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:35.373 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:35.373 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:35.375 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.375 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.376 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:35.377 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('0f128799-cf18-4b37-a721-e62b068191f5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.860
Scenario Outline Gebouwen
0558a41c-b09a-47fa-b8db-9de6bfe4f494 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '0558a41c-b09a-47fa-b8db-9de6bfe4f494' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.756
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0558a41c-b09a-47fa-b8db-9de6bfe4f494' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:35.366 [print] title:Gebouwen
* print title 0.000
15:21:35.366 [print] Gebouwen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:35.367 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:35.368 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('0558a41c-b09a-47fa-b8db-9de6bfe4f494","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.002
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:35.378 [print] [
  "http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2",
  ""
]
* def id = "0558a41c-b09a-47fa-b8db-9de6bfe4f494" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.044
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.424 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"
}
> * print "testing xlinkurl: 0.001
15:21:35.382 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.383 [print] testing xlinkurl:http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2
> Given url link 0.000
> When method HEAD 0.038
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:21:35.421 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 38 milliseconds for URL: http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2
15:21:35.421 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.001
15:21:35.421 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/79a1c01b-21ad-43e8-a5c2-23e3eeb95be2"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:21:35.423 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.424 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.424 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:35.424 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('0558a41c-b09a-47fa-b8db-9de6bfe4f494","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.846
Scenario Outline Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
df5ee213-e1bd-433b-80f7-4ea20f493ca8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'df5ee213-e1bd-433b-80f7-4ea20f493ca8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.779
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'df5ee213-e1bd-433b-80f7-4ea20f493ca8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.003
* print 'title:' + title 0.000
15:21:35.425 [print] title:Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* print title 0.000
15:21:35.425 [print] Zwemwaterkwaliteit (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:35.425 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:35.426 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('df5ee213-e1bd-433b-80f7-4ea20f493ca8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:35.431 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "df5ee213-e1bd-433b-80f7-4ea20f493ca8" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.527
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.960 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8"
}
> * print "testing xlinkurl: 0.001
15:21:35.434 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.001
15:21:35.436 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=df5ee213-e1bd-433b-80f7-4ea20f493ca8
> Given url link 0.000
> When method HEAD 0.481
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:35.919 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.919 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.037
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:35.957 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:35.957 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:35.958 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.958 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.959 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:35.960 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('df5ee213-e1bd-433b-80f7-4ea20f493ca8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.691
Scenario Outline Wijk- en Buurtkaart 2016 versie 3
6cde2ce7-3ecd-4785-b7b8-d62c3381efe9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6cde2ce7-3ecd-4785-b7b8-d62c3381efe9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.672
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6cde2ce7-3ecd-4785-b7b8-d62c3381efe9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:35.762 [print] title:Wijk- en Buurtkaart 2016 versie 3
* print title 0.001
15:21:35.763 [print] Wijk- en Buurtkaart 2016 versie 3
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:35.765 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:35.766 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6cde2ce7-3ecd-4785-b7b8-d62c3381efe9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:35.769 [print] [
  ""
]
* def id = "6cde2ce7-3ecd-4785-b7b8-d62c3381efe9" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.004
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.775 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:35.772 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:35.773 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:35.774 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:35.774 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6cde2ce7-3ecd-4785-b7b8-d62c3381efe9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.624
Scenario Outline Wijk- en Buurtkaart 2018 versie 2
ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.003
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.606
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:36.037 [print] title:Wijk- en Buurtkaart 2018 versie 2
* print title 0.000
15:21:36.037 [print] Wijk- en Buurtkaart 2018 versie 2
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:36.038 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:36.039 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:36.043 [print] [
  ""
]
* def id = "ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.003
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:36.047 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:36.046 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:36.046 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:36.047 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:36.047 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
50.597
Scenario Outline Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
wt-83730-e750-485a-9c0c-39bf9be72cf8 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-83730-e750-485a-9c0c-39bf9be72cf8' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.568
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9be72cf8' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:36.532 [print] title:Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
* print title 0.000
15:21:36.533 [print] Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2016 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:36.535 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:36.536 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('wt-83730-e750-485a-9c0c-39bf9be72cf8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:36.541 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-83730-e750-485a-9c0c-39bf9be72cf8" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 25.010
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:01.552 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8"
}
> * print "testing xlinkurl: 0.000
15:21:36.546 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:36.547 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-83730-e750-485a-9c0c-39bf9be72cf8
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
15:21:36.861 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:36.861 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:37.061 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:37.061 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:37.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.063 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 24.179
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:01.244 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:01.244 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:01.552 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('wt-83730-e750-485a-9c0c-39bf9be72cf8","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.764
Scenario Outline Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.519
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
15:21:36.571 [print] title:Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* print title 0.000
15:21:36.572 [print] Zwemwater (provinciaal en Rijkswateren) uit {Zwemwaterregister}
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:36.573 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:36.575 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:36.578 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.619
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:37.199 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:36.582 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:36.583 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e"
}
> * print "testing xlinkurl: 0.000
15:21:36.879 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:36.879 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c829abeb-bfac-4224-8332-e7a9a89e692e
> Given url link 0.000
> When method HEAD 0.269
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:37.150 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.150 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.044
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:37.196 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:37.196 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:37.197 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.197 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:37.198 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:37.198 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9986a7ef-e5e2-4a7a-9018-2e1f9631ba8c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.194
Scenario Outline Geluidszones rondom vliegvelden
41023936-009d-48ec-a90d-c966895463c1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '41023936-009d-48ec-a90d-c966895463c1' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.517
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '41023936-009d-48ec-a90d-c966895463c1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:36.831 [print] title:Geluidszones rondom vliegvelden
* print title 0.000
15:21:36.832 [print] Geluidszones rondom vliegvelden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:36.833 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:36.835 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('41023936-009d-48ec-a90d-c966895463c1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:36.839 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "41023936-009d-48ec-a90d-c966895463c1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.834
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:37.675 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:36.843 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:36.843 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.296
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1"
}
> * print "testing xlinkurl: 0.000
15:21:37.141 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.141 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=41023936-009d-48ec-a90d-c966895463c1
> Given url link 0.000
> When method HEAD 0.470
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:37.614 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.614 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.055
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:37.670 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.003
15:21:37.670 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:37.673 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.674 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:37.674 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:37.674 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('41023936-009d-48ec-a90d-c966895463c1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
14.499
Scenario Outline Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
wt-f5eb-b09f-4f6d-8397-8878a1b86238 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1b86238' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.597
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1b86238' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:37.801 [print] title:Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
* print title 0.000
15:21:37.802 [print] Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2011 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:37.803 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:37.804 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('wt-f5eb-b09f-4f6d-8397-8878a1b86238","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:37.807 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-f5eb-b09f-4f6d-8397-8878a1b86238" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 6.947
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:44.756 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238"
}
> * print "testing xlinkurl: 0.000
15:21:37.811 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:37.811 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-f5eb-b09f-4f6d-8397-8878a1b86238
> Given url link 0.000
> When method HEAD 0.329
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
15:21:38.142 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.143 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.204
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:38.347 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:38.348 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:38.348 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.348 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 6.095
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:44.445 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:44.445 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:44.755 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('wt-f5eb-b09f-4f6d-8397-8878a1b86238","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.715
Scenario Outline Menselijke gezondheid en veiligheid - geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
wt-3730-e750-485a-9c0c-39bf9be72cf9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'wt-3730-e750-485a-9c0c-39bf9be72cf9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.580
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9be72cf9' 0.029
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:38.288 [print] title:Menselijke gezondheid en veiligheid -  geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
* print title 0.000
15:21:38.288 [print] Menselijke gezondheid en veiligheid -  geluidbelasting rijkswegen 2006 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:38.288 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "info@wetransform.to"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.006
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:38.295 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Wetransform"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('wt-3730-e750-485a-9c0c-39bf9be72cf9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:38.301 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "wt-3730-e750-485a-9c0c-39bf9be72cf9" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.547
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:39.848 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9"
}
> * print "testing xlinkurl: 0.000
15:21:38.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.306 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/wt-3730-e750-485a-9c0c-39bf9be72cf9
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
15:21:38.622 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.622 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:38.822 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:38.822 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:38.823 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.823 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 0.699
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:39.524 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:39.524 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.322
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:39.847 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('wt-3730-e750-485a-9c0c-39bf9be72cf9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.183
Scenario Outline Natuurnetwerk Nederland
c7d8d77b-8c47-4309-8c58-9b12b086407f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c7d8d77b-8c47-4309-8c58-9b12b086407f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.545
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.005
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7d8d77b-8c47-4309-8c58-9b12b086407f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.007
15:21:38.602 [print] title:Natuurnetwerk Nederland
* print title 0.000
15:21:38.602 [print] Natuurnetwerk Nederland
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:38.604 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:38.605 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c7d8d77b-8c47-4309-8c58-9b12b086407f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:38.611 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "c7d8d77b-8c47-4309-8c58-9b12b086407f" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.808
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:39.422 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:38.620 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.620 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f"
}
> * print "testing xlinkurl: 0.000
15:21:38.920 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:38.920 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=c7d8d77b-8c47-4309-8c58-9b12b086407f
> Given url link 0.000
> When method HEAD 0.453
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:39.375 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:39.375 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.044
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:39.420 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:39.420 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:39.421 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:39.421 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:39.422 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:39.422 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('c7d8d77b-8c47-4309-8c58-9b12b086407f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.111
Scenario Outline Totale potentie aardwarmte uit aquifers, INSPIRE
11a292bd-9022-4a9f-b1bf-02f5c89ad74a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '11a292bd-9022-4a9f-b1bf-02f5c89ad74a' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.533
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '11a292bd-9022-4a9f-b1bf-02f5c89ad74a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:39.959 [print] title:Totale potentie aardwarmte uit aquifers, INSPIRE
* print title 0.000
15:21:39.959 [print] Totale potentie aardwarmte uit aquifers, INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:39.960 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:39.961 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('11a292bd-9022-4a9f-b1bf-02f5c89ad74a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:39.964 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"
]
* def id = "11a292bd-9022-4a9f-b1bf-02f5c89ad74a" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.285
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:40.250 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9"
}
> * print "testing xlinkurl: 0.000
15:21:39.967 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:39.967 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources052a3480-1031-4d29-ba55-01672e2c50d9
> Given url link 0.000
> When method HEAD 0.282
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:40.250 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('11a292bd-9022-4a9f-b1bf-02f5c89ad74a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
26.411
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
krw2006-68b5-4ff3-94a4-9c24109ffd5e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw2006-68b5-4ff3-94a4-9c24109ffd5e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.534
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw2006-68b5-4ff3-94a4-9c24109ffd5e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:40.388 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
* print title 0.000
15:21:40.388 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:40.389 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:40.391 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw2006-68b5-4ff3-94a4-9c24109ffd5e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.005
15:21:40.399 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw2006-68b5-4ff3-94a4-9c24109ffd5e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 12.932
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:53.333 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e"
}
> * print "testing xlinkurl: 0.000
15:21:40.403 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:40.404 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-68b5-4ff3-94a4-9c24109ffd5e
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:40.714 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:40.714 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.345
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:41.063 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:41.063 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:41.063 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:41.063 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.810
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:52.876 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:52.876 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.455
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:53.331 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:53.331 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:53.332 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:53.332 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:53.333 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:53.333 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw2006-68b5-4ff3-94a4-9c24109ffd5e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
15.886
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
2e31680f-68b5-4ff3-94a4-9c24109ffd5e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '2e31680f-68b5-4ff3-94a4-9c24109ffd5e' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.520
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2e31680f-68b5-4ff3-94a4-9c24109ffd5e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:40.478 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
* print title 0.000
15:21:40.479 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:21:40.480 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:40.482 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('2e31680f-68b5-4ff3-94a4-9c24109ffd5e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:40.486 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "2e31680f-68b5-4ff3-94a4-9c24109ffd5e" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 7.678
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:48.166 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e"
}
> * print "testing xlinkurl: 0.000
15:21:40.490 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:40.490 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/2e31680f-68b5-4ff3-94a4-9c24109ffd5e
> Given url link 0.000
> When method HEAD 0.311
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:40.803 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:40.803 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.257
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:41.061 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:41.061 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:41.062 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:41.062 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 6.789
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:47.852 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:47.852 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.311
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:48.164 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:48.164 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:48.165 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:48.165 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:48.166 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:48.166 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('2e31680f-68b5-4ff3-94a4-9c24109ffd5e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
37.779
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
622a632a-c57b-44a2-83a4-e51223d5f15g <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '622a632a-c57b-44a2-83a4-e51223d5f15g' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.515
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '622a632a-c57b-44a2-83a4-e51223d5f15g' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:40.770 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
* print title 0.000
15:21:40.770 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland 2019 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:40.771 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:40.772 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('622a632a-c57b-44a2-83a4-e51223d5f15g","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:40.775 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "622a632a-c57b-44a2-83a4-e51223d5f15g" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 18.629
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:59.405 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g"
}
> * print "testing xlinkurl: 0.000
15:21:40.777 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:40.778 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/622a632a-c57b-44a2-83a4-e51223d5f15g
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:41.086 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:41.087 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:41.289 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:41.289 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:41.290 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:41.290 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 17.780
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:59.072 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:59.072 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.331
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:59.404 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:59.404 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:59.405 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:59.405 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:59.405 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:59.405 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('622a632a-c57b-44a2-83a4-e51223d5f15g","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.597
Scenario Outline Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
710c381c-ab2d-45d5-a45d-af2eba811e5f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '710c381c-ab2d-45d5-a45d-af2eba811e5f' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.554
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '710c381c-ab2d-45d5-a45d-af2eba811e5f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:45.315 [print] title:Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
* print title 0.000
15:21:45.315 [print] Nationaal Hydrologisch Instrumentarium (NHI) - netwerkschematisatie
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:45.317 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:45.318 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('710c381c-ab2d-45d5-a45d-af2eba811e5f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:45.321 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "710c381c-ab2d-45d5-a45d-af2eba811e5f" 0.004
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.515
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/8}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:45.841 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f"
}
> * print "testing xlinkurl: 0.000
15:21:45.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:45.327 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/710c381c-ab2d-45d5-a45d-af2eba811e5f
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"
}
> * print "testing xlinkurl: 0.000
15:21:45.638 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:45.638 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/8
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:45.839 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:21:45.840 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/8"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:45.840 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:45.841 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:45.841 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:45.841 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('710c381c-ab2d-45d5-a45d-af2eba811e5f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.204
Scenario Outline Aardkundige waarden
f002bfc5-7d87-46b6-819e-8415422b65c9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f002bfc5-7d87-46b6-819e-8415422b65c9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.503
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f002bfc5-7d87-46b6-819e-8415422b65c9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:45.675 [print] title:Aardkundige waarden
* print title 0.000
15:21:45.675 [print] Aardkundige waarden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:45.676 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:45.676 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f002bfc5-7d87-46b6-819e-8415422b65c9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:45.680 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "f002bfc5-7d87-46b6-819e-8415422b65c9" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.847
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:46.529 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:21:45.683 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:45.683 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.346
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9"
}
> * print "testing xlinkurl: 0.000
15:21:46.031 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:46.031 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=f002bfc5-7d87-46b6-819e-8415422b65c9
> Given url link 0.000
> When method HEAD 0.453
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:21:46.486 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:46.486 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.040
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:46.527 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:21:46.528 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:46.528 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:46.529 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:21:46.529 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:21:46.529 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f002bfc5-7d87-46b6-819e-8415422b65c9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
34.629
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
110f9ec6-4464-462e-9765-83d90cefbead <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbead' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.509
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbead' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:46.354 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
* print title 0.000
15:21:46.354 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:46.355 [print] [
  "servicedesk@ihw.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:46.355 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Informatiehuis Water"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbead","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:46.359 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbead" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 17.057
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:03.417 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead"
}
> * print "testing xlinkurl: 0.000
15:21:46.361 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:46.361 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbead
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:46.670 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:46.670 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:46.874 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.002
15:21:46.874 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:46.877 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:46.877 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 16.210
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:03.089 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:03.089 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.327
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:03.417 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbead","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
24.900
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
110f9ec6-4464-462e-9765-83d90cefbeag <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeag' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.512
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeag' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:47.045 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
* print title 0.000
15:21:47.045 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:47.046 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:47.047 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Informatiehuis Water"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbeag","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:47.050 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeag" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 12.192
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:59.244 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag"
}
> * print "testing xlinkurl: 0.000
15:21:47.053 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:47.053 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeag
> Given url link 0.000
> When method HEAD 0.314
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:47.370 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:47.371 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:47.571 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:47.572 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:47.574 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:47.574 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.332
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:58.908 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:58.908 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.328
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:59.237 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:21:59.239 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:59.241 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:59.241 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:59.243 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:59.243 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbeag","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
4.410
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
krw2006-c57b-44a2-83a4-e51223d5f15g <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw2006-c57b-44a2-83a4-e51223d5f15g' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.540
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw2006-c57b-44a2-83a4-e51223d5f15g' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:48.710 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
* print title 0.000
15:21:48.710 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2009 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:48.711 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:48.712 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw2006-c57b-44a2-83a4-e51223d5f15g","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.004
15:21:48.722 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw2006-c57b-44a2-83a4-e51223d5f15g" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.929
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:50.653 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g"
}
> * print "testing xlinkurl: 0.000
15:21:48.726 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:48.726 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw2006-c57b-44a2-83a4-e51223d5f15g
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:49.037 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:49.037 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:49.241 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:49.242 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:49.243 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:49.243 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 1.094
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:21:50.339 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:50.339 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.310
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:50.650 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:21:50.650 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:21:50.652 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:50.652 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:21:50.652 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:21:50.653 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw2006-c57b-44a2-83a4-e51223d5f15g","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
24.736
Scenario Outline Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
110f9ec6-4464-462e-9765-83d90cefbeac <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '110f9ec6-4464-462e-9765-83d90cefbeac' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.514
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '110f9ec6-4464-462e-9765-83d90cefbeac' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:51.170 [print] title:Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
* print title 0.000
15:21:51.170 [print] Kaderrichtlijn Water - Deelstroomgebieden Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:21:51.172 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:51.173 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbeac","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.005
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:21:51.181 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "110f9ec6-4464-462e-9765-83d90cefbeac" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 12.106
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:03.289 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac"
}
> * print "testing xlinkurl: 0.000
15:21:51.185 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:51.185 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/110f9ec6-4464-462e-9765-83d90cefbeac
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:51.494 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:51.494 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:51.698 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:51.699 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:51.701 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:51.701 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.260
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:02.963 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.963 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.324
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:03.289 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('110f9ec6-4464-462e-9765-83d90cefbeac","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
15.194
Scenario Outline Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
krw-782cab20-8328-45f1-a9b2-c27d07c14066 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krw-782cab20-8328-45f1-a9b2-c27d07c14066' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.540
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krw-782cab20-8328-45f1-a9b2-c27d07c14066' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:53.877 [print] title:Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
* print title 0.000
15:21:53.877 [print] Kaderrichtlijn Water - Deelstroomgebieden Nederland 2019 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:53.877 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:53.878 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw-782cab20-8328-45f1-a9b2-c27d07c14066","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:53.882 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "krw-782cab20-8328-45f1-a9b2-c27d07c14066" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 7.325
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:01.208 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066"
}
> * print "testing xlinkurl: 0.000
15:21:53.884 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:53.885 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krw-782cab20-8328-45f1-a9b2-c27d07c14066
> Given url link 0.000
> When method HEAD 0.433
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:21:54.320 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:54.320 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:54.521 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:21:54.521 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:21:54.522 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:54.522 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 6.370
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:00.894 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:00.894 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:01.204 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:22:01.205 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:01.207 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:01.208 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:01.208 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:01.208 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krw-782cab20-8328-45f1-a9b2-c27d07c14066","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
6.577
Scenario Outline Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
krm-a905-9d8e-4758-83fa-28b057f185e4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krm-a905-9d8e-4758-83fa-28b057f185e4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.593
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krm-a905-9d8e-4758-83fa-28b057f185e4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:21:59.841 [print] title:Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
* print title 0.000
15:21:59.842 [print] Kaderrichtlijn Mariene Strategie - Mariene wateren Nederland EU2018
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:21:59.842 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:21:59.844 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krm-a905-9d8e-4758-83fa-28b057f185e4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:21:59.847 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "krm-a905-9d8e-4758-83fa-28b057f185e4" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.988
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:02.836 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4"
}
> * print "testing xlinkurl: 0.000
15:21:59.849 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:21:59.849 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e4
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:22:00.158 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:00.158 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:00.360 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:00.360 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:00.361 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:00.361 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 2.162
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:02.525 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.525 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.310
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:02.836 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krm-a905-9d8e-4758-83fa-28b057f185e4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
20.535
Scenario Outline Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
891ddc2d-8949-4a45-be96-c65b87c41f13 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '891ddc2d-8949-4a45-be96-c65b87c41f13' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.596
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '891ddc2d-8949-4a45-be96-c65b87c41f13' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:00.005 [print] title:Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
* print title 0.000
15:22:00.006 [print] Kaderrichtlijn Water - Monitoringlocaties Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:00.006 [print] [
  "servicedesk@ihw.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:00.007 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('891ddc2d-8949-4a45-be96-c65b87c41f13","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:00.010 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "891ddc2d-8949-4a45-be96-c65b87c41f13" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 9.967
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:09.978 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13"
}
> * print "testing xlinkurl: 0.000
15:22:00.013 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:00.013 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/891ddc2d-8949-4a45-be96-c65b87c41f13
> Given url link 0.000
> When method HEAD 0.306
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
15:22:00.321 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:00.322 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:00.522 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:00.523 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:00.524 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:00.524 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 9.142
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:09.668 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:09.668 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:09.978 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('891ddc2d-8949-4a45-be96-c65b87c41f13","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.584
Scenario Outline Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
17716ed7-ce0d-4bfd-8868-a398e5578a36 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.005
And param id = '17716ed7-ce0d-4bfd-8868-a398e5578a36' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.551
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17716ed7-ce0d-4bfd-8868-a398e5578a36' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:01.769 [print] title:Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
* print title 0.000
15:22:01.769 [print] Ruimtelijke plannen Wro: Ruimtelijkeplannen.nl
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:01.770 [print] [
  "PPB-GVA@kadaster.nl",
  "ruimtelijkeplannen@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:01.771 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('17716ed7-ce0d-4bfd-8868-a398e5578a36","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:01.774 [print] [
  "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"
]
* def id = "17716ed7-ce0d-4bfd-8868-a398e5578a36" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.009
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:22:01.785 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76"
}
> * print "testing xlinkurl: 0.000
15:22:01.777 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:01.777 [print] testing xlinkurl:http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:22:01.785 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 7 milliseconds for URL: http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0e76
15:22:01.785 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('17716ed7-ce0d-4bfd-8868-a398e5578a36","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
14.605
Scenario Outline Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
ror-9d8e-4758-83fx-28b057f185g1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185g1' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.574
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185g1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:02.131 [print] title:Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
* print title 0.000
15:22:02.131 [print] Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 lijnen
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:22:02.132 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:02.133 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ror-9d8e-4758-83fx-28b057f185g1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:02.138 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185g1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 7.013
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:09.152 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1"
}
> * print "testing xlinkurl: 0.000
15:22:02.143 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.143 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185g1
> Given url link 0.000
> When method HEAD 0.315
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
15:22:02.460 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.460 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.208
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:02.669 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:02.669 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:02.670 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.670 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 6.166
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:08.838 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:08.838 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:09.147 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:22:09.148 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:09.150 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:09.150 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:09.151 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:09.151 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ror-9d8e-4758-83fx-28b057f185g1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
26.857
Scenario Outline Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
ror-9d8e-4758-83fx-28b057f185e1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185e1' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.588
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185e1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:02.377 [print] title:Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
* print title 0.000
15:22:02.377 [print] Richtlijn Overstromingsrisico - gebieden met Potentieel Significant Overstromingsrisico EU2018 vlakken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:02.377 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:02.378 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ror-9d8e-4758-83fx-28b057f185e1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:02.381 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185e1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 13.132
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:15.514 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1"
}
> * print "testing xlinkurl: 0.000
15:22:02.384 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.384 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185e1
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
15:22:02.693 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:02.694 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 1.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:03.896 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:03.896 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:03.897 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:03.897 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:15.196 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:15.197 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.315
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:15.513 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:22:15.513 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:15.514 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:15.514 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:15.514 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:15.514 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ror-9d8e-4758-83fx-28b057f185e1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
25.044
Scenario Outline NWB - Wegen
a9b7026e-0a81-4813-93bd-ba49e6f28502 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a9b7026e-0a81-4813-93bd-ba49e6f28502' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.549
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a9b7026e-0a81-4813-93bd-ba49e6f28502' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:03.389 [print] title:NWB - Wegen
* print title 0.000
15:22:03.389 [print] NWB - Wegen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:03.390 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rws.n"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.011
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:03.402 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a9b7026e-0a81-4813-93bd-ba49e6f28502","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:03.406 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "a9b7026e-0a81-4813-93bd-ba49e6f28502" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 12.244
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/7}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/18}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:15.652 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502"
}
> * print "testing xlinkurl: 0.000
15:22:03.419 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:03.420 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a9b7026e-0a81-4813-93bd-ba49e6f28502
> Given url link 0.000
> When method HEAD 0.310
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"
}
> * print "testing xlinkurl: 0.000
15:22:03.733 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:03.733 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/7
> Given url link 0.000
> When method HEAD 0.211
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:03.945 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"
}
> * print "testing xlinkurl: 0.000
15:22:03.945 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/7"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:03.946 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:03.946 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/18
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:04.148 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:04.148 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/18"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:04.149 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:04.150 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.190
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:15.342 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:15.342 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.305
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:15.648 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:22:15.649 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:15.650 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:15.650 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:15.651 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:15.651 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a9b7026e-0a81-4813-93bd-ba49e6f28502","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
50.599
Scenario Outline Richtlijn Overstromingsrisico - historische overstromingen EU2018
ror-9d8e-4758-83fx-28b057f185f1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'ror-9d8e-4758-83fx-28b057f185f1' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.551
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ror-9d8e-4758-83fx-28b057f185f1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:04.621 [print] title:Richtlijn Overstromingsrisico - historische overstromingen EU2018
* print title 0.000
15:22:04.621 [print] Richtlijn Overstromingsrisico - historische overstromingen EU2018
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:22:04.623 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:04.624 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ror-9d8e-4758-83fx-28b057f185f1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:04.629 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "ror-9d8e-4758-83fx-28b057f185f1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 25.020
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/25}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:29.650 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1"
}
> * print "testing xlinkurl: 0.000
15:22:04.632 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:04.632 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/ror-9d8e-4758-83fx-28b057f185f1
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"
}
> * print "testing xlinkurl: 0.000
15:22:04.943 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:04.943 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/25
> Given url link 0.000
> When method HEAD 0.202
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:05.146 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:05.147 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/25"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:05.147 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:05.147 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 22.016
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:27.165 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:27.165 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 2.482
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:29.648 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.001
15:22:29.648 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:29.649 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:29.650 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:29.650 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:29.650 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('ror-9d8e-4758-83fx-28b057f185f1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
24.403
Scenario Outline Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
uwwtd-9d8e-4758-83fa-28b057f185e2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e2' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.581
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:04.795 [print] title:Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
* print title 0.001
15:22:04.796 [print] Richtlijn Stedelijk Afvalwater - lozingspunten Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:22:04.798 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:22:04.801 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('uwwtd-9d8e-4758-83fa-28b057f185e2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:22:04.806 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e2" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 11.906
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:16.713 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2"
}
> * print "testing xlinkurl: 0.000
15:22:04.809 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:04.810 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e2
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.001
15:22:05.121 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:05.122 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.200
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:05.323 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:05.324 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:05.324 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:05.325 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.072
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:16.399 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:16.399 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.309
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:16.709 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:22:16.709 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:16.711 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:16.711 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:16.712 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:16.712 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('uwwtd-9d8e-4758-83fa-28b057f185e2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
24.411
Scenario Outline Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
uwwtd-9d8e-4758-83fa-28b057f185e1 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'uwwtd-9d8e-4758-83fa-28b057f185e1' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.532
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'uwwtd-9d8e-4758-83fa-28b057f185e1' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:09.690 [print] title:Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
* print title 0.000
15:22:09.690 [print] Richtlijn Stedelijk Afvalwater - agglomeraties Nederland EU2015
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:09.691 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:09.692 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('uwwtd-9d8e-4758-83fa-28b057f185e1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:09.695 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "uwwtd-9d8e-4758-83fa-28b057f185e1" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 11.936
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:21.632 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1"
}
> * print "testing xlinkurl: 0.000
15:22:09.698 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:09.698 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/uwwtd-9d8e-4758-83fa-28b057f185e1
> Given url link 0.000
> When method HEAD 0.328
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:22:10.027 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:10.027 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.210
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:10.238 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.001
15:22:10.238 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:10.240 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:10.240 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.064
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:21.305 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:21.306 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.324
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:21.630 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:22:21.631 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:21.631 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:21.631 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:21.632 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:21.632 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('uwwtd-9d8e-4758-83fa-28b057f185e1","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.557
Scenario Outline Bodemgebruik
af0c582f-9e6b-46e6-865a-fc3a2d5289b9 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'af0c582f-9e6b-46e6-865a-fc3a2d5289b9' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.545
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af0c582f-9e6b-46e6-865a-fc3a2d5289b9' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:10.527 [print] title:Bodemgebruik
* print title 0.000
15:22:10.527 [print] Bodemgebruik
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:10.528 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:10.529 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('af0c582f-9e6b-46e6-865a-fc3a2d5289b9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:10.532 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"
]
* def id = "af0c582f-9e6b-46e6-865a-fc3a2d5289b9" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.002
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:10.535 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78"
}
> * print "testing xlinkurl: 0.000
15:22:10.534 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:10.534 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:10.535 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a78
15:22:10.535 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('af0c582f-9e6b-46e6-865a-fc3a2d5289b9","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.530
Scenario Outline Adressen
76091be7-358a-4a44-8182-b4139c96c6a4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '76091be7-358a-4a44-8182-b4139c96c6a4' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.519
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76091be7-358a-4a44-8182-b4139c96c6a4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:11.057 [print] title:Adressen
* print title 0.000
15:22:11.058 [print] Adressen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:11.058 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:11.059 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('76091be7-358a-4a44-8182-b4139c96c6a4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:11.062 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"
]
* def id = "76091be7-358a-4a44-8182-b4139c96c6a4" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.002
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:11.065 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77"
}
> * print "testing xlinkurl: 0.000
15:22:11.065 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:11.065 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:11.065 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a77
15:22:11.065 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('76091be7-358a-4a44-8182-b4139c96c6a4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.238
Scenario Outline Emissies naar lucht en water in 2015 vanuit de industrie
f8d840bc-18df-4449-b797-b9adcb81d3ec <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f8d840bc-18df-4449-b797-b9adcb81d3ec' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.513
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f8d840bc-18df-4449-b797-b9adcb81d3ec' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:11.581 [print] title:Emissies naar lucht en water in 2015 vanuit de industrie
* print title 0.000
15:22:11.581 [print] Emissies naar lucht en water in 2015 vanuit de industrie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:11.582 [print] [
  "emissieregistratie@rivm.nl",
  "",
  "emissieregistratie@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:11.583 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f8d840bc-18df-4449-b797-b9adcb81d3ec","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:11.586 [print] [
  "https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"
]
* def id = "f8d840bc-18df-4449-b797-b9adcb81d3ec" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.359
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:11.946 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166"
}
> * print "testing xlinkurl: 0.000
15:22:11.588 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:11.588 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:11.946 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#c6d62f69-7be0-4c19-a4af-d146c6a3c166
15:22:11.946 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f8d840bc-18df-4449-b797-b9adcb81d3ec","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.396
Scenario Outline Geluidkaart Schiphol 2016 (Lden)
83dab947-387b-49df-8ad2-32bb10d46d38 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '83dab947-387b-49df-8ad2-32bb10d46d38' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.530
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '83dab947-387b-49df-8ad2-32bb10d46d38' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:12.480 [print] title:Geluidkaart Schiphol 2016 (Lden)
* print title 0.000
15:22:12.480 [print] Geluidkaart Schiphol 2016 (Lden)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:12.481 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:12.482 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('83dab947-387b-49df-8ad2-32bb10d46d38","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:22:12.485 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"
]
* def id = "83dab947-387b-49df-8ad2-32bb10d46d38" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.429
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:12.915 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38"
}
> * print "testing xlinkurl: 0.000
15:22:12.488 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:12.488 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records83dab947-387b-49df-8ad2-32bb10d46d38
> Given url link 0.000
> When method HEAD 0.426
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:12.915 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('83dab947-387b-49df-8ad2-32bb10d46d38","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.236
Scenario Outline Gemeten Ammoniak concentraties in buitenlucht.
d3c9efd6-fca7-49d6-92bb-5f507abece90 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'd3c9efd6-fca7-49d6-92bb-5f507abece90' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.513
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd3c9efd6-fca7-49d6-92bb-5f507abece90' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:13.433 [print] title:Gemeten Ammoniak concentraties in buitenlucht.
* print title 0.000
15:22:13.433 [print] Gemeten Ammoniak concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:13.434 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:13.435 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d3c9efd6-fca7-49d6-92bb-5f507abece90","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:13.438 [print] [
  "https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"
]
* def id = "d3c9efd6-fca7-49d6-92bb-5f507abece90" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.357
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:13.796 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d"
}
> * print "testing xlinkurl: 0.000
15:22:13.441 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:13.441 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d
> Given url link 0.000
> When method HEAD 0.355
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:13.796 javax.net.ssl.SSLException: Connection reset, http call failed after 355 milliseconds for URL: https://data.rivm.nl/inspire/id#4504a4b2-3179-44b3-a5a9-b67b693c514d
15:22:13.796 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('d3c9efd6-fca7-49d6-92bb-5f507abece90","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.546
Scenario Outline Vervoersnetwerken
3eebf700-5abf-42e4-826c-03cfb497e366 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '3eebf700-5abf-42e4-826c-03cfb497e366' 0.002
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.517
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3eebf700-5abf-42e4-826c-03cfb497e366' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:14.318 [print] title:Vervoersnetwerken
* print title 0.000
15:22:14.318 [print] Vervoersnetwerken
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:14.319 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:14.320 [print] organisation: [
  "Kadaster",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3eebf700-5abf-42e4-826c-03cfb497e366","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:14.323 [print] [
  "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"
]
* def id = "3eebf700-5abf-42e4-826c-03cfb497e366" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.010
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:22:14.335 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75"
}
> * print "testing xlinkurl: 0.000
15:22:14.327 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:14.327 [print] testing xlinkurl:http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75
> Given url link 0.000
> When method HEAD 0.007
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:22:14.334 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 7 milliseconds for URL: http://kadaster/06b6c650-cdb1-11dd-ad8b-0800200c9a75
15:22:14.335 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('3eebf700-5abf-42e4-826c-03cfb497e366","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.614
Scenario Outline Luchtfoto 2016 25cm RGB open data
df15af6e-0d21-4437-a69f-802be3479bba <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'df15af6e-0d21-4437-a69f-802be3479bba' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.587
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'df15af6e-0d21-4437-a69f-802be3479bba' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:14.925 [print] title:Luchtfoto 2016 25cm RGB open data
* print title 0.000
15:22:14.925 [print] Luchtfoto 2016 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:14.926 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:14.927 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('df15af6e-0d21-4437-a69f-802be3479bba","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:14.931 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b014",
  "",
  "",
  ""
]
* def id = "df15af6e-0d21-4437-a69f-802be3479bba" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b014}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:14.943 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"
}
> * print "testing xlinkurl: 0.000
15:22:14.934 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:14.934 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b014
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:14.935 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b014
15:22:14.935 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:14.936 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b014"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:14.936 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:14.937 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:14.937 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:14.938 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:14.938 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:14.939 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:14.939 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:14.940 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:14.940 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:14.941 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:14.941 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:14.941 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:14.942 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:14.942 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('df15af6e-0d21-4437-a69f-802be3479bba","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.949
Scenario Outline EEZ volgens UNCLOS - Noordzee
e8b84fae-00b3-49c1-80c1-df8f69f64e8c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e8b84fae-00b3-49c1-80c1-df8f69f64e8c' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.551
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e8b84fae-00b3-49c1-80c1-df8f69f64e8c' 0.021
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:15.517 [print] title:EEZ volgens UNCLOS - Noordzee
* print title 0.000
15:22:15.517 [print] EEZ volgens UNCLOS - Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:15.518 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.004
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:15.523 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e8b84fae-00b3-49c1-80c1-df8f69f64e8c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:22:15.529 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"
]
* def id = "e8b84fae-00b3-49c1-80c1-df8f69f64e8c" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.682
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:16.212 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:22:15.531 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:15.532 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.347
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c"
}
> * print "testing xlinkurl: 0.000
15:22:15.881 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:15.881 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordse8b84fae-00b3-49c1-80c1-df8f69f64e8c
> Given url link 0.000
> When method HEAD 0.330
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:16.212 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e8b84fae-00b3-49c1-80c1-df8f69f64e8c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.730
Scenario Outline Oppervlaktegeologie, Geologische kaart onder INSPIRE
80630ee7-3a15-4ea0-bdc0-a8aebfa2f204 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '80630ee7-3a15-4ea0-bdc0-a8aebfa2f204' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.515
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80630ee7-3a15-4ea0-bdc0-a8aebfa2f204' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:16.170 [print] title:Oppervlaktegeologie, Geologische kaart onder INSPIRE
* print title 0.000
15:22:16.170 [print] Oppervlaktegeologie, Geologische kaart onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:22:16.172 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:16.173 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('80630ee7-3a15-4ea0-bdc0-a8aebfa2f204","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:16.176 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "80630ee7-3a15-4ea0-bdc0-a8aebfa2f204" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.605
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/13}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:17.783 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"
}
> * print "testing xlinkurl: 0.000
15:22:16.179 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:16.179 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9
> Given url link 0.000
> When method HEAD 0.283
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:16.463 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"
}
> * print "testing xlinkurl: 0.000
15:22:16.464 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources66495385-8f7b-4661-85a7-11a2bbcbb6b9"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:16.466 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:16.466 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/13
> Given url link 0.000
> When method HEAD 0.301
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:16.769 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.001
15:22:16.770 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/13"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:16.771 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:16.771 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.696
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.468 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:22:17.469 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.469 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.469 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.312
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:17.782 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('80630ee7-3a15-4ea0-bdc0-a8aebfa2f204","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.627
Scenario Outline Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
a1960e70-22f4-4fd9-91a8-b605c6ceda3e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'a1960e70-22f4-4fd9-91a8-b605c6ceda3e' 0.006
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.552
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1960e70-22f4-4fd9-91a8-b605c6ceda3e' 0.001
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:16.773 [print] title:Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
* print title 0.000
15:22:16.773 [print] Kaderrichtlijn Water - Oppervlaktewaterlichamen Nederland EU2015 riviernetwerk
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:16.775 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:16.775 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a1960e70-22f4-4fd9-91a8-b605c6ceda3e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:16.779 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "a1960e70-22f4-4fd9-91a8-b605c6ceda3e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.532
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:18.313 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e"
}
> * print "testing xlinkurl: 0.000
15:22:16.782 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:16.783 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/a1960e70-22f4-4fd9-91a8-b605c6ceda3e
> Given url link 0.000
> When method HEAD 0.307
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:22:17.091 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.092 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.291 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:17.292 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.292 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.292 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 0.696
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:17.990 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.990 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.320
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:18.312 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('a1960e70-22f4-4fd9-91a8-b605c6ceda3e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.244
Scenario Outline Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
34e6165f-1269-48d1-b255-0f05d163d692 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '34e6165f-1269-48d1-b255-0f05d163d692' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.623
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '34e6165f-1269-48d1-b255-0f05d163d692' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:17.025 [print] title:Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
* print title 0.000
15:22:17.025 [print] Geluidszones rondom bedrijventerreinen zowel provinciaal als gemeentelijk
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:22:17.027 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:17.028 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('34e6165f-1269-48d1-b255-0f05d163d692","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:17.031 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "34e6165f-1269-48d1-b255-0f05d163d692" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.809
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:17.841 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:22:17.034 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.034 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692"
}
> * print "testing xlinkurl: 0.000
15:22:17.331 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.331 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=34e6165f-1269-48d1-b255-0f05d163d692
> Given url link 0.000
> When method HEAD 0.463
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:22:17.796 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.796 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.037
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.835 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:17.836 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.841 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.841 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:17.841 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:17.841 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('34e6165f-1269-48d1-b255-0f05d163d692","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
25.292
Scenario Outline Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
krm-a905-9d8e-4758-83fa-28b057f185e3 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'krm-a905-9d8e-4758-83fa-28b057f185e3' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.549
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'krm-a905-9d8e-4758-83fa-28b057f185e3' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.004
15:22:17.270 [print] title:Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
* print title 0.000
15:22:17.271 [print] Kaderrichtlijn Mariene Strategie - Rapportage eenheden Nederland EU2018
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:22:17.273 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:22:17.275 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krm-a905-9d8e-4758-83fa-28b057f185e3","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.004
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:22:17.282 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#",
  "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
]
* def id = "krm-a905-9d8e-4758-83fa-28b057f185e3" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 12.363
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#}, {link=https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:29.647 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3"
}
> * print "testing xlinkurl: 0.000
15:22:17.285 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.286 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/krm-a905-9d8e-4758-83fa-28b057f185e3
> Given url link 0.000
> When method HEAD 0.323
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:22:17.611 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.611 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.199
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.812 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#"
}
> * print "testing xlinkurl: 0.000
15:22:17.813 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:17.814 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:17.815 [print] testing xlinkurl:http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset#
> Given url link 0.000
> When method HEAD 11.033
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset"
}
> * print "testing xlinkurl: 0.000
15:22:28.850 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:28.850 [print] testing xlinkurl:https://ngr.geocat.live/geonetwork/srv/eng/thesaurus.download?ref=external.theme.httpinspireeceuropaeumetadatacodelistPrioritydataset-Prioritydataset
> Given url link 0.000
> When method HEAD 0.796
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:29.647 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('krm-a905-9d8e-4758-83fa-28b057f185e3","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
2.190
Scenario Outline Natuurbranden
88f76a94-ee4d-4e0c-9fde-91b692403e39 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '88f76a94-ee4d-4e0c-9fde-91b692403e39' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.588
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88f76a94-ee4d-4e0c-9fde-91b692403e39' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:18.432 [print] title:Natuurbranden
* print title 0.000
15:22:18.432 [print] Natuurbranden
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:18.433 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:18.434 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('88f76a94-ee4d-4e0c-9fde-91b692403e39","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:18.437 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034",
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "88f76a94-ee4d-4e0c-9fde-91b692403e39" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.798
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034}, {link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:19.237 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034"
}
> * print "testing xlinkurl: 0.000
15:22:18.440 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:18.440 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/3034
> Given url link 0.000
> When method HEAD 0.294
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39"
}
> * print "testing xlinkurl: 0.000
15:22:18.736 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:18.736 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=88f76a94-ee4d-4e0c-9fde-91b692403e39
> Given url link 0.000
> When method HEAD 0.452
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:22:19.189 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.189 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.045
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:19.235 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:19.235 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:19.236 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.236 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:19.236 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:19.236 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('88f76a94-ee4d-4e0c-9fde-91b692403e39","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.703
Scenario Outline Maritieme grenzen - basislijn Noordzee
1249746f-c2a6-4639-98f2-251676b3528e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1249746f-c2a6-4639-98f2-251676b3528e' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.533
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1249746f-c2a6-4639-98f2-251676b3528e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.001
* print 'title:' + title 0.000
15:22:18.851 [print] title:Maritieme grenzen - basislijn Noordzee
* print title 0.000
15:22:18.851 [print] Maritieme grenzen - basislijn Noordzee
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:18.852 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:18.853 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1249746f-c2a6-4639-98f2-251676b3528e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:18.859 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"
]
* def id = "1249746f-c2a6-4639-98f2-251676b3528e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.579
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:19.439 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:22:18.862 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:18.862 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.293
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03"
}
> * print "testing xlinkurl: 0.000
15:22:19.157 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.158 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesd7ab6903-1152-450b-b81d-042682dcfd03
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:19.438 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1249746f-c2a6-4639-98f2-251676b3528e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.579
Scenario Outline Geografische Namen (INSPIRE geharmoniseerd)
1a40eb6f-4f33-4e15-a0b1-2d350ad2636e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '1a40eb6f-4f33-4e15-a0b1-2d350ad2636e' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.564
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a40eb6f-4f33-4e15-a0b1-2d350ad2636e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:18.919 [print] title:Geografische Namen (INSPIRE geharmoniseerd)
* print title 0.000
15:22:18.919 [print] Geografische Namen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.001
* print email 0.000
15:22:18.920 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:18.921 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1a40eb6f-4f33-4e15-a0b1-2d350ad2636e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:18.924 [print] [
  "http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"
]
* def id = "1a40eb6f-4f33-4e15-a0b1-2d350ad2636e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:18.930 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e"
}
> * print "testing xlinkurl: 0.000
15:22:18.927 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:18.928 [print] testing xlinkurl:http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:18.929 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/3bf3f7f3-8ac9-4203-bb95-2c932d5f0f3e
15:22:18.929 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('1a40eb6f-4f33-4e15-a0b1-2d350ad2636e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.566
Scenario Outline Overstromingsgevaarkaarten
bc2c53f6-c908-4d7c-a6c0-78d9a2855640 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'bc2c53f6-c908-4d7c-a6c0-78d9a2855640' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.538
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc2c53f6-c908-4d7c-a6c0-78d9a2855640' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:19.472 [print] title:Overstromingsgevaarkaarten
* print title 0.000
15:22:19.473 [print] Overstromingsgevaarkaarten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:22:19.473 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:19.475 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('bc2c53f6-c908-4d7c-a6c0-78d9a2855640","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:22:19.480 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  ""
]
* def id = "bc2c53f6-c908-4d7c-a6c0-78d9a2855640" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.514
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:19.995 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640"
}
> * print "testing xlinkurl: 0.000
15:22:19.483 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.484 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&elementSetName=full&OutputSchema=http://www.isotc211.org/2005/gmd&ID=bc2c53f6-c908-4d7c-a6c0-78d9a2855640
> Given url link 0.000
> When method HEAD 0.461
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:22:19.947 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.947 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.036
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:19.986 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:19.994 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:19.995 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.995 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:19.995 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:19.995 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('bc2c53f6-c908-4d7c-a6c0-78d9a2855640","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.145
Scenario Outline Kadastrale Percelen (INSPIRE geharmoniseerd)
e80ad426-1392-4349-9f80-14dae5f1bf57 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e80ad426-1392-4349-9f80-14dae5f1bf57' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.534
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e80ad426-1392-4349-9f80-14dae5f1bf57' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:19.774 [print] title:Kadastrale Percelen (INSPIRE geharmoniseerd)
* print title 0.000
15:22:19.774 [print] Kadastrale Percelen (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:19.775 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:19.775 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e80ad426-1392-4349-9f80-14dae5f1bf57","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:19.778 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"
]
* def id = "e80ad426-1392-4349-9f80-14dae5f1bf57" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.302
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:20.082 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:22:19.781 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.781 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.298
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344"
}
> * print "testing xlinkurl: 0.000
15:22:20.081 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.081 [print] testing xlinkurl:http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:20.082 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/0f9b8c87-80a6-435f-b3b3-e07c3918d344
15:22:20.082 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e80ad426-1392-4349-9f80-14dae5f1bf57","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.564
Scenario Outline Luchtfoto 2018 25cm RGB open data
5b274449-b6c2-4672-a32f-e0bd40975a53 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5b274449-b6c2-4672-a32f-e0bd40975a53' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.542
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b274449-b6c2-4672-a32f-e0bd40975a53' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:19.986 [print] title:Luchtfoto 2018 25cm RGB open data
* print title 0.000
15:22:19.987 [print] Luchtfoto 2018 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:19.989 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.001
15:22:19.990 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Eurosense",
  "Eurosense",
  "Eurosense",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5b274449-b6c2-4672-a32f-e0bd40975a53","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:19.994 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b020",
  "",
  "",
  ""
]
* def id = "5b274449-b6c2-4672-a32f-e0bd40975a53" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.006
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b020}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.001 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"
}
> * print "testing xlinkurl: 0.000
15:22:19.998 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.998 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b020
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:19.999 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b020
15:22:19.999 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:19.999 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b020"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:19.999 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:19.999 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.000 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:20.000 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:20.000 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.000 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.000 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.000 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:20.000 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:20.001 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.001 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.001 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.001 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:20.001 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5b274449-b6c2-4672-a32f-e0bd40975a53","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.518
Scenario Outline Publiekrechtelijke beperkingen
e536d943-ecff-4d7a-9500-cc31a263a6af <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e536d943-ecff-4d7a-9500-cc31a263a6af' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.507
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e536d943-ecff-4d7a-9500-cc31a263a6af' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:20.505 [print] title:Publiekrechtelijke beperkingen
* print title 0.000
15:22:20.505 [print] Publiekrechtelijke beperkingen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:20.506 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:20.507 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e536d943-ecff-4d7a-9500-cc31a263a6af","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:20.509 [print] [
  "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"
]
* def id = "e536d943-ecff-4d7a-9500-cc31a263a6af" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.002
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:20.513 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124"
}
> * print "testing xlinkurl: 0.000
15:22:20.512 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.512 [print] testing xlinkurl:http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:20.513 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/e2318c58-b1e6-4621-9c77-33b8a1fd0124
15:22:20.513 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e536d943-ecff-4d7a-9500-cc31a263a6af","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.332
Scenario Outline CBS gebiedsindelingen
effe1ab0-073d-437c-af13-df5c5e07d6cd <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'effe1ab0-073d-437c-af13-df5c5e07d6cd' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.558
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'effe1ab0-073d-437c-af13-df5c5e07d6cd' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:20.563 [print] title:CBS gebiedsindelingen
* print title 0.000
15:22:20.563 [print] CBS gebiedsindelingen
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:20.564 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:20.565 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('effe1ab0-073d-437c-af13-df5c5e07d6cd","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:20.567 [print] [
  "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml",
  ""
]
* def id = "effe1ab0-073d-437c-af13-df5c5e07d6cd" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.384
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.952 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml"
}
> * print "testing xlinkurl: 0.000
15:22:20.570 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.570 [print] testing xlinkurl:https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/atom/cbsgebiedsindelingen.xml
> Given url link 0.000
> When method HEAD 0.380
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:20.952 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.952 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:20.952 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:20.952 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('effe1ab0-073d-437c-af13-df5c5e07d6cd","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.411
Scenario Outline Olie- en gasvelden onder INSPIRE
b61a773c-ecad-4e60-93e9-0a4caac0b52f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'b61a773c-ecad-4e60-93e9-0a4caac0b52f' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.557
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b61a773c-ecad-4e60-93e9-0a4caac0b52f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:20.642 [print] title:Olie- en gasvelden onder INSPIRE
* print title 0.000
15:22:20.642 [print] Olie- en gasvelden onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:20.643 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:20.643 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b61a773c-ecad-4e60-93e9-0a4caac0b52f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:20.646 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/33",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "b61a773c-ecad-4e60-93e9-0a4caac0b52f" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.425
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/33}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:22.072 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"
}
> * print "testing xlinkurl: 0.000
15:22:20.649 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.649 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef
> Given url link 0.000
> When method HEAD 0.286
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:20.935 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"
}
> * print "testing xlinkurl: 0.001
15:22:20.935 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources49e49382-674d-4ce8-9f4a-ba4dd2265eef"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:20.937 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:20.937 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/33
> Given url link 0.000
> When method HEAD 0.203
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:21.141 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
15:22:21.141 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/33"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:21.142 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:21.142 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.589
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:21.732 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.000
15:22:21.732 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:21.733 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:21.733 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.336
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:22.070 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('b61a773c-ecad-4e60-93e9-0a4caac0b52f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.108
Scenario Outline Geluidkaart hoofdspoornet 2016 (Lnight)
002d9127-c16d-4b8d-9f5e-102a8c8e36c4 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '002d9127-c16d-4b8d-9f5e-102a8c8e36c4' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.526
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '002d9127-c16d-4b8d-9f5e-102a8c8e36c4' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:21.481 [print] title:Geluidkaart hoofdspoornet 2016 (Lnight)
* print title 0.000
15:22:21.481 [print] Geluidkaart hoofdspoornet 2016 (Lnight)
* def email = get response //electronicMailAddress/CharacterString 0.015
* print email 0.000
15:22:21.497 [print] [
  "sylvia.koolmees@minienw.nl",
  "sylvia.koolmees@minienw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:21.497 [print] organisation: [
  "Ministerie van IenW",
  "Ministerie van IenW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('002d9127-c16d-4b8d-9f5e-102a8c8e36c4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:21.500 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"
]
* def id = "002d9127-c16d-4b8d-9f5e-102a8c8e36c4" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.281
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
15:22:21.783 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"}
checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4"
}
> * print "testing xlinkurl: 0.000
15:22:21.505 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:21.506 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records/002d9127-c16d-4b8d-9f5e-102a8c8e36c4
> Given url link 0.000
> When method HEAD 0.276
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 400, expected: 200, reason: not equal (Integer)
15:22:21.783 assertion failed: path: $, actual: 400, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('002d9127-c16d-4b8d-9f5e-102a8c8e36c4","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.923
Scenario Outline Rijksmonumenten (verouderd)
6f84efeb-fc1d-4565-a721-80735ea57dbd <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '6f84efeb-fc1d-4565-a721-80735ea57dbd' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.540
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6f84efeb-fc1d-4565-a721-80735ea57dbd' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:22.179 [print] title:Rijksmonumenten (verouderd)
* print title 0.000
15:22:22.179 [print] Rijksmonumenten (verouderd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:22.180 [print] [
  "info@cultureelerfgoed.nl",
  "info@cultureelerfgoed.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:22.181 [print] organisation: [
  "Rijksdienst voor het Cultureel Erfgoed",
  "Rijksdienst voor het Cultureel Erfgoed"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6f84efeb-fc1d-4565-a721-80735ea57dbd","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.006
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:22.188 [print] [
  "http://services.rce.geovoorziening.nl/www/download/nl.xml",
  "",
  ""
]
* def id = "6f84efeb-fc1d-4565-a721-80735ea57dbd" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.184
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://services.rce.geovoorziening.nl/www/download/nl.xml}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:22.374 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://services.rce.geovoorziening.nl/www/download/nl.xml"
}
> * print "testing xlinkurl: 0.000
15:22:22.191 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:22.191 [print] testing xlinkurl:http://services.rce.geovoorziening.nl/www/download/nl.xml
> Given url link 0.000
> When method HEAD 0.179
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:22.372 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:22.372 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:22.373 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:22.373 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:22.373 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:22.373 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:22.373 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:22.374 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:22.374 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('6f84efeb-fc1d-4565-a721-80735ea57dbd","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.292
Scenario Outline Gemeten Stikstofdioxide concentraties in buitenlucht.
733559a5-201d-40e5-ad43-d1c7bae84d9f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '733559a5-201d-40e5-ad43-d1c7bae84d9f' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.565
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '733559a5-201d-40e5-ad43-d1c7bae84d9f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:22.251 [print] title:Gemeten Stikstofdioxide concentraties in buitenlucht.
* print title 0.000
15:22:22.251 [print] Gemeten Stikstofdioxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:22.251 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:22.252 [print] organisation: RIVM
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('733559a5-201d-40e5-ad43-d1c7bae84d9f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:22.255 [print] [
  "https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"
]
* def id = "733559a5-201d-40e5-ad43-d1c7bae84d9f" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:22.616 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6"
}
> * print "testing xlinkurl: 0.000
15:22:22.257 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:22.257 [print] testing xlinkurl:https://data.rivm.nl/inspire?id#505e9f1e-84bc-4856-9771-4295db998bb6
> Given url link 0.000
> When method HEAD 0.358
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:22.616 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('733559a5-201d-40e5-ad43-d1c7bae84d9f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.379
Scenario Outline Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
af135cd8-d429-4fc7-b9e3-09e15217520d <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'af135cd8-d429-4fc7-b9e3-09e15217520d' 0.004
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.649
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af135cd8-d429-4fc7-b9e3-09e15217520d' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:22.440 [print] title:Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
* print title 0.000
15:22:22.441 [print] Gemeten fijnere fractie van Fijn stof concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:22.442 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:22.442 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('af135cd8-d429-4fc7-b9e3-09e15217520d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:22.447 [print] [
  "https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"
]
* def id = "af135cd8-d429-4fc7-b9e3-09e15217520d" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.359
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:22.807 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db"
}
> * print "testing xlinkurl: 0.000
15:22:22.450 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:22.451 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db
> Given url link 0.000
> When method HEAD 0.355
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:22.807 javax.net.ssl.SSLException: Connection reset, http call failed after 355 milliseconds for URL: https://data.rivm.nl/inspire/id#df9bc66f-941b-4c38-a104-1b8d940a53db
15:22:22.807 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('af135cd8-d429-4fc7-b9e3-09e15217520d","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.125
Scenario Outline Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
31de946d-85d4-4c93-bb97-e25f4ef1401a <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '31de946d-85d4-4c93-bb97-e25f4ef1401a' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.521
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '31de946d-85d4-4c93-bb97-e25f4ef1401a' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:22.898 [print] title:Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
* print title 0.000
15:22:22.898 [print] Vervoersnetwerken - Luchttransport (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:22.898 [print] [
  "PPB-GVA@kadaster.nl",
  "kcc@kadaster.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:22.899 [print] organisation: [
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('31de946d-85d4-4c93-bb97-e25f4ef1401a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:22.901 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258",
  "http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"
]
* def id = "31de946d-85d4-4c93-bb97-e25f4ef1401a" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.299
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258}, {link=http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:23.202 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:22:22.904 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:22.904 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/http://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.295
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de"
}
> * print "testing xlinkurl: 0.000
15:22:23.201 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.201 [print] testing xlinkurl:http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:23.202 java.net.UnknownHostException: kadaster, http call failed after 0 milliseconds for URL: http://kadaster/3b7bb05b-2d2e-4329-9a72-0eac19e315de
15:22:23.202 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('31de946d-85d4-4c93-bb97-e25f4ef1401a","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.269
Scenario Outline Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
fe2f9091-1962-4073-9e3b-3e4aeed488a5 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe2f9091-1962-4073-9e3b-3e4aeed488a5' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.601
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe2f9091-1962-4073-9e3b-3e4aeed488a5' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:23.220 [print] title:Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
* print title 0.000
15:22:23.220 [print] Beperkingen voor voertuigen (INSPIRE geharmoniseerde data)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:23.221 [print] [
  "ontheffingen@rdw.nl",
  "ontheffingen@rdw.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:23.221 [print] organisation: [
  "RDW",
  "RDW",
  "RDW"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('fe2f9091-1962-4073-9e3b-3e4aeed488a5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:23.224 [print] [
  "http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf",
  ""
]
* def id = "fe2f9091-1962-4073-9e3b-3e4aeed488a5" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.332
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf}, {link=}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:23.557 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf"
}
> * print "testing xlinkurl: 0.000
15:22:23.229 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.229 [print] testing xlinkurl:http://inspire.rdw.nl/www/download/Licentie-Geogedeeld-RDW.pdf
> Given url link 0.000
> When method HEAD 0.327
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:23.557 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.557 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:23.557 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:23.557 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('fe2f9091-1962-4073-9e3b-3e4aeed488a5","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.300
Scenario Outline Gemeten Koolstofmonoxide concentraties in buitenlucht.
5800f3b0-2ea2-4231-8165-216a7b26867f <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5800f3b0-2ea2-4231-8165-216a7b26867f' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.572
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5800f3b0-2ea2-4231-8165-216a7b26867f' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
15:22:23.383 [print] title:Gemeten Koolstofmonoxide concentraties in buitenlucht.
* print title 0.000
15:22:23.384 [print] Gemeten Koolstofmonoxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:23.384 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:23.385 [print] organisation: RIVM
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5800f3b0-2ea2-4231-8165-216a7b26867f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:23.388 [print] [
  "https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"
]
* def id = "5800f3b0-2ea2-4231-8165-216a7b26867f" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.360
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:23.749 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f"
}
> * print "testing xlinkurl: 0.000
15:22:23.391 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.391 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f
> Given url link 0.000
> When method HEAD 0.357
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:23.749 javax.net.ssl.SSLException: Connection reset, http call failed after 357 milliseconds for URL: https://data.rivm.nl/inspire/id#a3b9f437-f571-4a00-b3c3-58e4354c244f
15:22:23.749 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5800f3b0-2ea2-4231-8165-216a7b26867f","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.695
Scenario Outline Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.649
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:23.488 [print] title:Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
* print title 0.000
15:22:23.488 [print] Landelijk zoet en zoutwatermeetnet - Rijkswaterstaat
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:23.489 [print] [
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl",
  "",
  "servicedesk-data@rijkswaterstaat.nl",
  "servicedesk-data@rijkswaterstaat.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:23.489 [print] organisation: [
  "Rijkswaterstaat",
  "Rijkswaterstaat",
  "",
  "Rijkswaterstaat",
  "Rijkswaterstaat"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.002
* print nlinks 0.001
15:22:23.495 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20",
  "urn:ogc:def:crs:EPSG::5709"
]
* def id = "68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.519
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/20}, {link=urn:ogc:def:crs:EPSG::5709}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:24.015 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"urn:ogc:def:crs:EPSG::5709"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2"
}
> * print "testing xlinkurl: 0.000
15:22:23.498 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.499 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2
> Given url link 0.000
> When method HEAD 0.311
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"
}
> * print "testing xlinkurl: 0.000
15:22:23.811 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.811 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/20
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:24.014 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "urn:ogc:def:crs:EPSG::5709"
}
> * print "testing xlinkurl: 0.000
15:22:24.014 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/20"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:24.015 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.015 [print] testing xlinkurl:urn:ogc:def:crs:EPSG::5709
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
15:22:24.015 org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709, http call failed after 0 milliseconds for URL: urn:ogc:def:crs:EPSG::5709
15:22:24.015 http request failed: 
org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: urn:ogc:def:crs:EPSG::5709
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.807
Scenario Outline BRO GeoTOP (GTM)
7D35598D-DFBF-C64D-0F1A-92A80A45EB14 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '7D35598D-DFBF-C64D-0F1A-92A80A45EB14' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.560
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7D35598D-DFBF-C64D-0F1A-92A80A45EB14' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.001
15:22:23.767 [print] title:BRO GeoTOP (GTM)
* print title 0.000
15:22:23.767 [print] BRO GeoTOP (GTM)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:23.767 [print] [
  "info@bro.nl",
  "info@bro.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:23.768 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7D35598D-DFBF-C64D-0F1A-92A80A45EB14","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:23.771 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/NAP",
  "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"
]
* def id = "7D35598D-DFBF-C64D-0F1A-92A80A45EB14" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.620
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/NAP}, {link=https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:24.392 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/NAP"
}
> * print "testing xlinkurl: 0.000
15:22:23.773 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:23.773 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/NAP
> Given url link 0.000
> When method HEAD 0.337
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66"
}
> * print "testing xlinkurl: 0.000
15:22:24.112 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.112 [print] testing xlinkurl:https://ngr.acceptatie.nationaalgeoregister.nl/geonetwork/srv/resourcesddf87610-2724-11e2-81c1-0800200c9a66
> Given url link 0.000
> When method HEAD 0.279
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:24.391 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('7D35598D-DFBF-C64D-0F1A-92A80A45EB14","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.807
Scenario Outline Hydrografie waterschappen INSPIRE
07575774-57a1-4419-bab4-6c88fdeb02b2 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '07575774-57a1-4419-bab4-6c88fdeb02b2' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.552
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '07575774-57a1-4419-bab4-6c88fdeb02b2' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:24.113 [print] title:Hydrografie waterschappen INSPIRE
* print title 0.000
15:22:24.113 [print] Hydrografie waterschappen INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:24.114 [print] [
  "datastromen@hetwaterschapshuis.nl",
  "datastromen@hetwaterschapshuis.nl",
  "",
  "datastromen@hetwaterschapshuis.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:24.115 [print] organisation: [
  "Het Waterschapshuis",
  "Het Waterschapshuis",
  "Het Waterschapshuis",
  "Het Waterschapshuis"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('07575774-57a1-4419-bab4-6c88fdeb02b2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:24.118 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/ETRS89",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"
]
* def id = "07575774-57a1-4419-bab4-6c88fdeb02b2" 0.002
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.624
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/ETRS89}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:24.744 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/ETRS89"
}
> * print "testing xlinkurl: 0.000
15:22:24.124 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.124 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/ETRS89
> Given url link 0.000
> When method HEAD 0.294
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2"
}
> * print "testing xlinkurl: 0.000
15:22:24.420 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.420 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records07575774-57a1-4419-bab4-6c88fdeb02b2
> Given url link 0.000
> When method HEAD 0.323
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:24.743 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('07575774-57a1-4419-bab4-6c88fdeb02b2","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.541
Scenario Outline Wijk- en Buurtkaart 2019 versie 1
5c37d29a-006d-4136-8989-adfc35a1d4a7 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '5c37d29a-006d-4136-8989-adfc35a1d4a7' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.520
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5c37d29a-006d-4136-8989-adfc35a1d4a7' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:24.275 [print] title:Wijk- en Buurtkaart 2019 versie 1
* print title 0.000
15:22:24.275 [print] Wijk- en Buurtkaart 2019 versie 1
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:24.276 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:24.277 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5c37d29a-006d-4136-8989-adfc35a1d4a7","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.001
* print nlinks 0.000
15:22:24.281 [print] [
  ""
]
* def id = "5c37d29a-006d-4136-8989-adfc35a1d4a7" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.005
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.288 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:24.284 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.285 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.286 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:24.287 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('5c37d29a-006d-4136-8989-adfc35a1d4a7","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.253
Scenario Outline Kwaliteit van drinkwater in Nederland (2012)
32a21114-8694-40ce-ab76-9dcd885c7861 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '32a21114-8694-40ce-ab76-9dcd885c7861' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.528
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32a21114-8694-40ce-ab76-9dcd885c7861' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:24.548 [print] title:Kwaliteit van drinkwater in Nederland (2012)
* print title 0.000
15:22:24.548 [print] Kwaliteit van drinkwater in Nederland (2012)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:24.549 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:24.550 [print] organisation: [
  "RIVM",
  ""
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('32a21114-8694-40ce-ab76-9dcd885c7861","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:24.553 [print] [
  "https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"
]
* def id = "32a21114-8694-40ce-ab76-9dcd885c7861" 0.001
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.358
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:24.912 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5"
}
> * print "testing xlinkurl: 0.000
15:22:24.556 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.556 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5
> Given url link 0.000
> When method HEAD 0.355
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:24.912 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#a98a6cdb-61cd-4107-b775-2334e6772ed5
15:22:24.912 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('32a21114-8694-40ce-ab76-9dcd885c7861","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.651
Scenario Outline Luchtfoto 2019 25cm CIR open data
9ed6b8ed-254a-4745-a09a-3b57137d1b69 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '9ed6b8ed-254a-4745-a09a-3b57137d1b69' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.557
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ed6b8ed-254a-4745-a09a-3b57137d1b69' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:24.848 [print] title:Luchtfoto 2019 25cm CIR open data
* print title 0.000
15:22:24.848 [print] Luchtfoto 2019 25cm CIR open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:24.849 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.001
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:24.850 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Geocart",
  "Geocart",
  "Geocart",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9ed6b8ed-254a-4745-a09a-3b57137d1b69","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.002
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:24.854 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b024",
  "",
  "",
  ""
]
* def id = "9ed6b8ed-254a-4745-a09a-3b57137d1b69" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.044
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b024}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.899 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"
}
> * print "testing xlinkurl: 0.000
15:22:24.857 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.857 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b024
> Given url link 0.000
> When method HEAD 0.036
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:22:24.894 java.net.UnknownHostException: kadaster: Temporary failure in name resolution, http call failed after 37 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b024
15:22:24.894 http request failed: 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:24.894 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b024"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster: Temporary failure in name resolution
15:22:24.894 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.895 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.895 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:24.895 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:24.895 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.896 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.896 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.896 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:24.896 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:24.897 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.898 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.898 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:24.898 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:24.899 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('9ed6b8ed-254a-4745-a09a-3b57137d1b69","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.242
Scenario Outline Gemeten Stikstofmonoxide concentraties in buitenlucht.
f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.511
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:24.907 [print] title:Gemeten Stikstofmonoxide concentraties in buitenlucht.
* print title 0.000
15:22:24.907 [print] Gemeten Stikstofmonoxide concentraties in buitenlucht.
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:24.908 [print] [
  "geodata@rivm.nl",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:24.909 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:24.911 [print] [
  "https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"
]
* def id = "f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.362
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:25.278 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25"
}
> * print "testing xlinkurl: 0.000
15:22:24.917 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:24.918 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25
> Given url link 0.000
> When method HEAD 0.358
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:25.277 javax.net.ssl.SSLException: Connection reset, http call failed after 359 milliseconds for URL: https://data.rivm.nl/inspire/id#b867ba72-5a7c-41fe-b997-394b56dfbd25
15:22:25.277 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.374
Scenario Outline Vergunningen Mijnbouwwet onder INSPIRE
24de356e-ec4d-4a18-9903-6401d222b77c <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '24de356e-ec4d-4a18-9903-6401d222b77c' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.538
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '24de356e-ec4d-4a18-9903-6401d222b77c' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:25.287 [print] title:Vergunningen Mijnbouwwet onder INSPIRE
* print title 0.000
15:22:25.288 [print] Vergunningen Mijnbouwwet onder INSPIRE
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:25.288 [print] [
  "info@dinoloket.nl",
  "info@dinoloket.nl",
  "info@dinoloket.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:25.289 [print] organisation: [
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland",
  "TNO Geologische Dienst Nederland"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('24de356e-ec4d-4a18-9903-6401d222b77c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:25.292 [print] [
  "https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024",
  "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24",
  "http://geonetwork-opensource.org/inspire-theme#",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
]
* def id = "24de356e-ec4d-4a18-9903-6401d222b77c" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.415
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024}, {link=http://rdfdata.eionet.europa.eu/inspirethemes/themes/24}, {link=http://geonetwork-opensource.org/inspire-theme#}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:26.708 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"
}
> * print "testing xlinkurl: 0.000
15:22:25.294 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:25.295 [print] testing xlinkurl:https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024
> Given url link 0.000
> When method HEAD 0.280
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:25.575 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"
}
> * print "testing xlinkurl: 0.000
15:22:25.575 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://nationaalgeoregister.nl/geonetwork/srv/resources8bdf76b6-c9c9-4011-a7bc-022ae14a4024"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:25.576 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:25.576 [print] testing xlinkurl:http://rdfdata.eionet.europa.eu/inspirethemes/themes/24
> Given url link 0.000
> When method HEAD 0.201
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:25.778 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://geonetwork-opensource.org/inspire-theme#"
}
> * print "testing xlinkurl: 0.000
15:22:25.778 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://rdfdata.eionet.europa.eu/inspirethemes/themes/24"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:25.779 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:25.779 [print] testing xlinkurl:http://geonetwork-opensource.org/inspire-theme#
> Given url link 0.000
> When method HEAD 0.590
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:26.369 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme"
}
> * print "testing xlinkurl: 0.001
15:22:26.370 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://geonetwork-opensource.org/inspire-theme#"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:26.371 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.372 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/eng/thesaurus.download?ref=external.theme.inspire-theme
> Given url link 0.000
> When method HEAD 0.336
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:26.708 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('24de356e-ec4d-4a18-9903-6401d222b77c","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.646
Scenario Outline Wijk- en Buurtkaart 2017 versie 3
26103042-50a1-4ee5-9c5b-857a2f8b7680 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '26103042-50a1-4ee5-9c5b-857a2f8b7680' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.633
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '26103042-50a1-4ee5-9c5b-857a2f8b7680' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:25.549 [print] title:Wijk- en Buurtkaart 2017 versie 3
* print title 0.000
15:22:25.549 [print] Wijk- en Buurtkaart 2017 versie 3
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:25.550 [print] [
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "infoservice@cbs.nl",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:25.550 [print] organisation: [
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Centraal Bureau voor de Statistiek",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('26103042-50a1-4ee5-9c5b-857a2f8b7680","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:25.554 [print] [
  ""
]
* def id = "26103042-50a1-4ee5-9c5b-857a2f8b7680" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.003
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:25.558 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:25.556 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:25.556 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:25.557 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:25.557 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('26103042-50a1-4ee5-9c5b-857a2f8b7680","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.274
Scenario Outline Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
e1e99000-ec47-4e9f-84a5-adad24fef0dc <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'e1e99000-ec47-4e9f-84a5-adad24fef0dc' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.553
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e1e99000-ec47-4e9f-84a5-adad24fef0dc' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:25.834 [print] title:Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
* print title 0.000
15:22:25.834 [print] Natuurlijke alfa activiteitsconcentratie in lucht Nationaal Meetnet Radioactiviteit 2011
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:25.835 [print] [
  "geodata@rivm.nl",
  "",
  "geodata@rivm.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:25.835 [print] organisation: no organisationName found in dataset record
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e1e99000-ec47-4e9f-84a5-adad24fef0dc","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:25.838 [print] [
  "https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"
]
* def id = "e1e99000-ec47-4e9f-84a5-adad24fef0dc" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.357
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:26.197 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"}
checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f"
}
> * print "testing xlinkurl: 0.000
15:22:25.841 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:25.841 [print] testing xlinkurl:https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f
> Given url link 0.000
> When method HEAD 0.355
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
javax.net.ssl.SSLException: Connection reset
15:22:26.197 javax.net.ssl.SSLException: Connection reset, http call failed after 356 milliseconds for URL: https://data.rivm.nl/inspire/id#10fcd5a9-3804-48e3-bcbd-d816594dbb6f
15:22:26.197 http request failed: 
javax.net.ssl.SSLException: Connection reset
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('e1e99000-ec47-4e9f-84a5-adad24fef0dc","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
1.295
Scenario Outline Netwerk van KNMI waarneemstations
380aa01e-dce7-11e3-9f07-901b0e19e163 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '380aa01e-dce7-11e3-9f07-901b0e19e163' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.517
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '380aa01e-dce7-11e3-9f07-901b0e19e163' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:26.079 [print] title:Netwerk van KNMI waarneemstations
* print title 0.000
15:22:26.079 [print] Netwerk van KNMI waarneemstations
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:26.080 [print] [
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl",
  "datacentrum@knmi.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:26.081 [print] organisation: [
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)",
  "Koninklijk Nederlands Meteorologisch Instituut (KNMI)"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('380aa01e-dce7-11e3-9f07-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.002
15:22:26.087 [print] [
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb",
  "https://creativecommons.org/publicdomain/zero/*/deed.nl"
]
* def id = "380aa01e-dce7-11e3-9f07-901b0e19e163" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.388
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb}, {link=https://creativecommons.org/publicdomain/zero/*/deed.nl}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:26.476 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/zero/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"
}
> * print "testing xlinkurl: 0.000
15:22:26.097 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.098 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb
> Given url link 0.000
> When method HEAD 0.308
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:26.407 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/zero/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:22:26.408 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/records6c6be9c5-b09b-4dcf-a5fd-f149cbaca6fb"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:26.409 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.410 [print] testing xlinkurl:https://creativecommons.org/publicdomain/zero/*/deed.nl
> Given url link 0.000
> When method HEAD 0.066
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:26.476 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('380aa01e-dce7-11e3-9f07-901b0e19e163","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.525
Scenario Outline Luchtvaartinformatie
73ec579e-c906-433a-b0b6-d3aa33421558 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '73ec579e-c906-433a-b0b6-d3aa33421558' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.348
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73ec579e-c906-433a-b0b6-d3aa33421558' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:26.427 [print] title:Luchtvaartinformatie
* print title 0.000
15:22:26.427 [print] Luchtvaartinformatie
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:26.428 [print] [
  "AIS@LVNL.NL",
  "AIS@LVNL.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:26.428 [print] organisation: [
  "Luchtverkeersleiding Nederland (LVNL)",
  "Luchtverkeersleiding Nederland (LVNL)"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('73ec579e-c906-433a-b0b6-d3aa33421558","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.017
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:26.447 [print] [
  "u",
  "r",
  "n",
  ":",
  "o",
  "g",
  "c",
  ":",
  "d",
  "e",
  "f",
  ":",
  "c",
  "r",
  "s",
  ":",
  "E",
  "P",
  "S",
  "G",
  ":",
  ":",
  "5",
  "6",
  "2",
  "1"
]
* def id = "73ec579e-c906-433a-b0b6-d3aa33421558" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.089
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=u}, {link=r}, {link=n}, {link=:}, {link=o}, {link=g}, {link=c}, {link=:}, {link=d}, {link=e}, {link=f}, {link=:}, {link=c}, {link=r}, {link=s}, {link=:}, {link=E}, {link=P}, {link=S}, {link=G}, {link=:}, {link=:}, {link=5}, {link=6}, {link=2}, {link=1}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
-------
feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"6"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"2"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.538 feature call (loop) failed at index: 25
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"1"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "u"
}
> * print "testing xlinkurl: 0.000
15:22:26.452 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.453 [print] testing xlinkurl:u
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.455 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: u
15:22:26.455 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:22:26.457 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"u"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.458 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.458 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.459 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:22:26.460 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "n"
}
> * print "testing xlinkurl: 0.000
15:22:26.461 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.462 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.462 [print] testing xlinkurl:n
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.463 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: n
15:22:26.463 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.006
15:22:26.464 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"n"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.470 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.002
15:22:26.473 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.008
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.481 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[4] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "o"
}
> * print "testing xlinkurl: 0.000
15:22:26.482 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.483 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.483 [print] testing xlinkurl:o
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.484 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: o
15:22:26.485 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[5] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "g"
}
> * print "testing xlinkurl: 0.000
15:22:26.486 feature call (loop) failed at index: 4
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"o"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.486 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.487 [print] testing xlinkurl:g
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.488 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: g
15:22:26.488 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[6] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.001
15:22:26.490 feature call (loop) failed at index: 5
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"g"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.491 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.492 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.493 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
15:22:26.494 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[7] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
15:22:26.496 feature call (loop) failed at index: 6
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.497 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.498 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.499 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[8] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "d"
}
> * print "testing xlinkurl: 0.004
15:22:26.502 feature call (loop) failed at index: 7
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.506 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.507 [print] testing xlinkurl:d
> Given url link 0.000
> When method HEAD 0.002
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.508 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: d
15:22:26.509 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[9] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "e"
}
> * print "testing xlinkurl: 0.000
15:22:26.511 feature call (loop) failed at index: 8
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"d"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.512 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.513 [print] testing xlinkurl:e
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.514 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: e
15:22:26.514 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[10] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "f"
}
> * print "testing xlinkurl: 0.003
15:22:26.514 feature call (loop) failed at index: 9
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"e"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.518 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.518 [print] testing xlinkurl:f
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.518 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: f
15:22:26.518 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[11] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.001
15:22:26.518 feature call (loop) failed at index: 10
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"f"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.520 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.521 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.521 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[12] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "c"
}
> * print "testing xlinkurl: 0.002
15:22:26.522 feature call (loop) failed at index: 11
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.525 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.525 [print] testing xlinkurl:c
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.525 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: c
15:22:26.525 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[13] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "r"
}
> * print "testing xlinkurl: 0.000
15:22:26.525 feature call (loop) failed at index: 12
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"c"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.525 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.526 [print] testing xlinkurl:r
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.526 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: r
15:22:26.526 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[14] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "s"
}
> * print "testing xlinkurl: 0.000
15:22:26.526 feature call (loop) failed at index: 13
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"r"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.526 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.526 [print] testing xlinkurl:s
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.527 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: s
15:22:26.527 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[15] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
15:22:26.527 feature call (loop) failed at index: 14
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"s"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.527 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.527 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.527 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[16] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "E"
}
> * print "testing xlinkurl: 0.000
15:22:26.528 feature call (loop) failed at index: 15
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.528 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.528 [print] testing xlinkurl:E
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.528 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: E
15:22:26.528 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[17] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "P"
}
> * print "testing xlinkurl: 0.000
15:22:26.528 feature call (loop) failed at index: 16
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"E"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.529 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.529 [print] testing xlinkurl:P
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.529 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: P
15:22:26.529 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[18] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "S"
}
> * print "testing xlinkurl: 0.000
15:22:26.529 feature call (loop) failed at index: 17
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"P"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.530 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.530 [print] testing xlinkurl:S
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.531 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: S
15:22:26.531 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[19] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "G"
}
> * print "testing xlinkurl: 0.000
15:22:26.531 feature call (loop) failed at index: 18
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"S"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.531 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.531 [print] testing xlinkurl:G
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.532 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: G
15:22:26.532 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[20] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
15:22:26.532 feature call (loop) failed at index: 19
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"G"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.532 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.532 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.532 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[21] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ":"
}
> * print "testing xlinkurl: 0.000
15:22:26.532 feature call (loop) failed at index: 20
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.533 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.533 [print] testing xlinkurl::
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.533 http request failed: java.net.URISyntaxException: Expected scheme name at index 0: :
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[22] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "5"
}
> * print "testing xlinkurl: 0.000
15:22:26.533 feature call (loop) failed at index: 21
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":":"}
checkxlinkurl.template.feature:14 - java.net.URISyntaxException: Expected scheme name at index 0: :
15:22:26.533 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.533 [print] testing xlinkurl:5
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.534 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 5
15:22:26.534 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[23] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "6"
}
> * print "testing xlinkurl: 0.000
15:22:26.535 feature call (loop) failed at index: 22
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"5"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.535 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.535 [print] testing xlinkurl:6
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.536 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 6
15:22:26.536 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[24] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "2"
}
> * print "testing xlinkurl: 0.000
15:22:26.536 feature call (loop) failed at index: 23
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"6"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.537 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.537 [print] testing xlinkurl:2
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.537 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 2
15:22:26.537 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[25] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "1"
}
> * print "testing xlinkurl: 0.000
15:22:26.537 feature call (loop) failed at index: 24
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"2"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.538 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.538 [print] testing xlinkurl:1
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:26.538 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 1
15:22:26.538 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('73ec579e-c906-433a-b0b6-d3aa33421558","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
6.348
Scenario Outline Gebieden in de Eemsmonding en de Dollard
f44dac86-2228-412f-8355-e56446ca9933 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'f44dac86-2228-412f-8355-e56446ca9933' 0.001
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.519
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f44dac86-2228-412f-8355-e56446ca9933' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:26.720 [print] title:Gebieden in de Eemsmonding en de Dollard
* print title 0.000
15:22:26.720 [print] Gebieden in de Eemsmonding en de Dollard
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.001
15:22:26.721 [print] [
  "data@hydro.nl",
  "data@hydro.nl",
  "data@hydro.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:26.723 [print] organisation: [
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie",
  "Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f44dac86-2228-412f-8355-e56446ca9933","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:26.726 [print] [
  "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258",
  "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933",
  "www.hydro.nl"
]
* def id = "f44dac86-2228-412f-8355-e56446ca9933" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 2.914
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258}, {link=https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933}, {link=www.hydro.nl}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:29.641 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"www.hydro.nl"}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258"
}
> * print "testing xlinkurl: 0.000
15:22:26.734 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:26.735 [print] testing xlinkurl:http://www.opengis.net/def/crs/EPSG/0/https://www.opengis.net/def/crs/EPSG/0/4258
> Given url link 0.000
> When method HEAD 0.299
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"
}
> * print "testing xlinkurl: 0.000
15:22:27.036 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:27.036 [print] testing xlinkurl:https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933
> Given url link 0.000
> When method HEAD 2.601
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:29.638 assertion failed: path: $, actual: 500, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "www.hydro.nl"
}
> * print "testing xlinkurl: 0.000
15:22:29.639 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://www.nationaalgeoregister.nl/geonetwork/srv/api/recordsf44dac86-2228-412f-8355-e56446ca9933"}
checkxlinkurl.template.feature:22 - path: $, actual: 500, expected: 200, reason: not equal (Integer)
15:22:29.640 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:29.641 [print] testing xlinkurl:www.hydro.nl
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:29.641 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: www.hydro.nl
15:22:29.641 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('f44dac86-2228-412f-8355-e56446ca9933","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
3.838
Scenario Outline Luchtfoto 2019 25cm RGB open data
64ff8561-5c56-4cc1-ae0e-94366fb70b7e <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '64ff8561-5c56-4cc1-ae0e-94366fb70b7e' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 3.808
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '64ff8561-5c56-4cc1-ae0e-94366fb70b7e' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:30.290 [print] title:Luchtfoto 2019 25cm RGB open data
* print title 0.000
15:22:30.290 [print] Luchtfoto 2019 25cm RGB open data
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:30.292 [print] [
  "PPB-GVA@kadaster.nl",
  "info@hetwaterschapshuis.nl",
  "kcc@kadaster.nl",
  "",
  "",
  "",
  "",
  "",
  ""
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:30.293 [print] organisation: [
  "Kadaster",
  "Het Waterschapshuis",
  "Kadaster",
  "Geocart",
  "Geocart",
  "Geocart",
  "Kadaster",
  "Kadaster"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('64ff8561-5c56-4cc1-ae0e-94366fb70b7e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.000
15:22:30.296 [print] [
  "http://kadaster/2482250f-3b00-4439-9f93-f3118229b023",
  "",
  "",
  ""
]
* def id = "64ff8561-5c56-4cc1-ae0e-94366fb70b7e" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 0.011
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://kadaster/2482250f-3b00-4439-9f93-f3118229b023}, {link=}, {link=}, {link=}]
errors:
-------
feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
-------
feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:30.308 feature call (loop) failed at index: 3
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"
}
> * print "testing xlinkurl: 0.000
15:22:30.299 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.299 [print] testing xlinkurl:http://kadaster/2482250f-3b00-4439-9f93-f3118229b023
> Given url link 0.000
> When method HEAD 0.001
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:30.300 java.net.UnknownHostException: kadaster, http call failed after 1 milliseconds for URL: http://kadaster/2482250f-3b00-4439-9f93-f3118229b023
15:22:30.300 http request failed: 
java.net.UnknownHostException: kadaster
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:30.301 feature call (loop) failed at index: 0
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"http://kadaster/2482250f-3b00-4439-9f93-f3118229b023"}
checkxlinkurl.template.feature:14 - 
java.net.UnknownHostException: kadaster
15:22:30.302 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.302 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:30.303 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:30.303 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:30.303 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:30.304 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.304 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:30.305 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:30.305 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[3] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": ""
}
> * print "testing xlinkurl: 0.000
15:22:30.306 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":""}
checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:30.306 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.307 [print] testing xlinkurl:
> Given url link 0.000
> When method HEAD 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:14 - 
org.apache.http.client.ClientProtocolException
15:22:30.307 org.apache.http.client.ClientProtocolException, http call failed after 0 milliseconds for URL: 
15:22:30.308 http request failed: 
org.apache.http.client.ClientProtocolException
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('64ff8561-5c56-4cc1-ae0e-94366fb70b7e","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
6.560
Scenario Outline Natura 2000 (INSPIRE geharmoniseerd)
280ed37a-b8d2-4ac5-8567-04d84fad3a41 <organisation> <electronicMailAddress>
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = '280ed37a-b8d2-4ac5-8567-04d84fad3a41' 0.003
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 3.848
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280ed37a-b8d2-4ac5-8567-04d84fad3a41' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:30.393 [print] title:Natura 2000 (INSPIRE geharmoniseerd)
* print title 0.000
15:22:30.393 [print] Natura 2000 (INSPIRE geharmoniseerd)
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:30.394 [print] [
  "geodatabeheer.giscc@rvo.nl",
  "geodatabeheer.giscc@rvo.nl",
  "beheer@pdok.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:30.394 [print] organisation: Ministerie van Landbouw, Natuur en Voedselkwaliteit
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('280ed37a-b8d2-4ac5-8567-04d84fad3a41","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(knownlinks)) 0.000
* print nlinks 0.001
15:22:30.399 [print] [
  "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41",
  "https://creativecommons.org/publicdomain/mark/*/deed.nl",
  "https://data.overheid.nl/organisatie/PDOK"
]
* def id = "280ed37a-b8d2-4ac5-8567-04d84fad3a41" 0.000
* call read('def/checkxlinkurl.template.feature') karate.mapWithKey(nlinks ,'link') 1.352
com.intuit.karate.exception.KarateException: check-known-dataset-record.feature:81 - feature call (loop) failed: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
caller: classpath:InspireTest/ngr/datasetrecords/check-known-dataset-record.feature
items: [{link=http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41}, {link=https://creativecommons.org/publicdomain/mark/*/deed.nl}, {link=https://data.overheid.nl/organisatie/PDOK}]
errors:
-------
feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
-------
feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:31.752 feature call (loop) failed at index: 2
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://data.overheid.nl/organisatie/PDOK"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
[0] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41"
}
> * print "testing xlinkurl: 0.000
15:22:30.403 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.403 [print] testing xlinkurl:http://nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/280ed37a-b8d2-4ac5-8567-04d84fad3a41
> Given url link 0.000
> When method HEAD 0.321
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[1] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://creativecommons.org/publicdomain/mark/*/deed.nl"
}
> * print "testing xlinkurl: 0.000
15:22:30.726 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.726 [print] testing xlinkurl:https://creativecommons.org/publicdomain/mark/*/deed.nl
> Given url link 0.000
> When method HEAD 0.043
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:30.770 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
[2] InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature 0.000
{
  "link": "https://data.overheid.nl/organisatie/PDOK"
}
> * print "testing xlinkurl: 0.000
15:22:30.771 feature call (loop) failed at index: 1
caller: classpath:InspireTest/ngr/datasetrecords/def/checkxlinkurl.template.feature
arg: {"link":"https://creativecommons.org/publicdomain/mark/*/deed.nl"}
checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:30.772 [print]
> * def link = __arg.link 0.000
> * print "testing xlinkurl:" + link 0.000
15:22:30.773 [print] testing xlinkurl:https://data.overheid.nl/organisatie/PDOK
> Given url link 0.000
> When method HEAD 0.978
> * def mystorage = Java.type('storage.DataStorage') 0.000
> * def db = new mystorage 0.000
> * eval db.mywriteln('"'+ link + '","'+ title + '","' + responseStatus + '",' , 'target/surefire-reports/foundlink.csv') 0.000
> * match responseStatus == 200 0.000
com.intuit.karate.exception.KarateException: checkxlinkurl.template.feature:22 - path: $, actual: 404, expected: 200, reason: not equal (Integer)
15:22:31.752 assertion failed: path: $, actual: 404, expected: 200, reason: not equal (Integer)
> * match responseHeaders['Content-Type'][0] == '#string' 0.000
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('280ed37a-b8d2-4ac5-8567-04d84fad3a41","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasetsOkay.csv') 0.000
0.471
Scenario Outline Check fe45c540-e37d-11e4-b571-0800200c9a66
Check href links in metadata record van fe45c540-e37d-11e4-b571-0800200c9a66
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.451
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fe45c540-e37d-11e4-b571-0800200c9a66' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:32.666 [print] title:Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* print title 0.000
15:22:32.667 [print] Zwemwaterlocaties en zwemwaterkwaliteit - monsterpunten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:32.669 [print] [
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl",
  "inspire@gbo-provincies.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.008
15:22:32.678 [print] organisation: [
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg",
  "Interprovinciaal Overleg"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('"fe45c540-e37d-11e4-b571-0800200c9a66","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.003
* def xlinks = get response /GetRecordByIdResponse//@href 0.001
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:48 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "fe45c540-e37d-11e4-b571-0800200c9a66" 0.000
0.389
Scenario Outline Check edf79e6a-d73d-4def-8d22-0f495cc76a73
Check href links in metadata record van edf79e6a-d73d-4def-8d22-0f495cc76a73
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.383
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'edf79e6a-d73d-4def-8d22-0f495cc76a73' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:37.375 [print] title:Bronbestanden waterkwaliteit
* print title 0.000
15:22:37.375 [print] Bronbestanden waterkwaliteit
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:37.376 [print] [
  "servicedesk@ihw.nl",
  "servicedesk@ihw.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:37.376 [print] organisation: [
  "Informatiehuis Water",
  "Informatiehuis Water"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('"edf79e6a-d73d-4def-8d22-0f495cc76a73","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:48 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "edf79e6a-d73d-4def-8d22-0f495cc76a73" 0.000
0.429
Scenario Outline Check c935f2ab-9b65-4dc4-94a0-73aeb840a941
Check href links in metadata record van c935f2ab-9b65-4dc4-94a0-73aeb840a941
Steps
Given path 'geonetwork/srv/dut/inspire' 0.000
And param service = 'CSW' 0.000
And param version = '2.0.2' 0.000
And param request = 'GetRecordById' 0.000
And param id = 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
And param elementsetname = 'full' 0.000
And param outputSchema = 'http://www.isotc211.org/2005/gmd' 0.000
When method get 0.424
Then status 200 0.000
* eval karate.embed(responseBytes,'application/xml') 0.000
This file cannot be displayed. Use download button to get the content as file.
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c935f2ab-9b65-4dc4-94a0-73aeb840a941' 0.000
* def title = get response //citation/CI_Citation/title/CharacterString 0.000
* print 'title:' + title 0.000
15:22:43.183 [print] title:Overheidsdiensten
* print title 0.000
15:22:43.183 [print] Overheidsdiensten
* def email = get response //electronicMailAddress/CharacterString 0.000
* print email 0.000
15:22:43.184 [print] [
  "erik.simonse@kvk.nl",
  "erik.simonse@kvk.nl"
]
* def organisationpath = karate.get('//organisationName/CharacterString') 0.000
* def organisation = organisationpath ? organisationpath : 'no organisationName found in dataset record' 0.000
* print 'organisation:', organisation 0.000
15:22:43.185 [print] organisation: [
  "Kamer van Koophandel",
  "Kamer van Koophandel"
]
* def mystorage = Java.type('storage.DataStorage') 0.000
* def db = new mystorage 0.000
* eval db.mywriteln('"c935f2ab-9b65-4dc4-94a0-73aeb840a941","'+ title + '","' + organisation + '","'+ email +'",' , 'target/surefire-reports/datasets.csv') 0.001
* def xlinks = get response /GetRecordByIdResponse//@href 0.000
com.intuit.karate.exception.KarateException: ngr-check-dataset-record.feature:48 - xpath does not exist: /GetRecordByIdResponse//@href on response
* def ObjectValues = 0.000
function (obj) {
var vals = [];
for (var prop in obj) {
vals.push(obj[prop]);
}
return vals;
}
* def filterx = 0.000
function (array1, array2) {
return array1.filter(function (x) { return array2.indexOf(x) < 0; });
}
* def nlinks = filterx(ObjectValues(xlinks), ObjectValues(callonesresult.knownlinks)) 0.000
* print nlinks 0.000
* def id = "c935f2ab-9b65-4dc4-94a0-73aeb840a941" 0.000